Fix: run everything in the same thread event loop
Compare changes
manual_tests/__init__.py
0 → 100644
+ 0
− 0
Aufgrund einer Wartung am 24.06.2025 von 8:00 bis 09:00 Uhr werden git.rwth-aachen.de & git-ce.rwth-aachen.de zeitweise nicht zur Verfügung stehen.
--
Due to maintenance at 24.06.2025 from 8:00 to 09:00, git.rwth-aachen.de & git-ce.rwth-aachen.de will be temporarily unavailable.
When connected to an actual server, a runtime error was raised with the message: "Leaving task {task!r} does not match the current task {current_task!r}." My guess is that this was caused since the normal client calls were made in the main thread, and the event loop was running in a separate thread.
With this commit, all asyncio calls are made in the event loop thread.
Following this change, some other warnings and errors poped up. These are also fixed with the MR.