Commit a877ccc
authored
Strict pytest (#929)
* Magically turn warnings into errors !
* Close that socket
* Close those loops
* Is it because of lifespan was not explicitely set to off ?
* Closing loop explicitely, maybe consider switching to a context manager ?
* trigger GitHub actions
* Close the transport when connection is lost
* Close the transport when connection is lost works locally
Adds some trace logs
* Close the transport when connection is lost works locally
Adds some trace logs
* Fixed bug in message_logger.py, doesnt return
Added trace logger in ws test that fails
* trace log on failing wds test in ci, cant get it locally
* Hard to know which test doesnt close and make the CI fail
* Test order in protocols
* Rewrite protocols http with context manager
* Lint
* rename order counts and still a bug
* WOOT ?
* Minimized diff, I moved tests around
* Minimized diff, ws test should stay the same
* Minimized diff, httptools debug stuff ermoved
* Removing trace logs from diff
* Reduce diff again, we take care of that bug in #967
* Removed pytest.mark.asyncio
* Fix lifespan close loop post merge master
* Fix websockets 9 deprecation warning1 parent da3e4cd commit a877ccc
8 files changed
Lines changed: 316 additions & 295 deletions
File tree
- tests
- protocols
- uvicorn/protocols
- http
- websockets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| |||
0 commit comments