-
-
Notifications
You must be signed in to change notification settings - Fork 697
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test suite refactor using async server context manager instead of bac…
…kground thread (#917) * Used async context manager instead of thread * Refactored test_ssl * Refactored test_main , last test become irrelevant * Same with test_websockets, now exceptions are bubbled ! * Update requirements.txt * Refactor test_trace_logging.py as well * Removed what appears to be dead code since we dont use threads * asynccontextmanager appears in 3.7, just removing it to check if CI passes * trace logging reworked * Attempt at 3.6 * Should be better with correct lib name * Pin new requirements * Move run_server from conftest to utils * Revert "Removed what appears to be dead code since we dont use threads" This reverts commit eb45afc
- Loading branch information
Showing
7 changed files
with
207 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.