Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strict pytest #929

Merged
merged 31 commits into from
Jun 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
f6b59e9
Magically turn warnings into errors !
euri10 Dec 28, 2020
b8ad61b
Close that socket
euri10 Dec 28, 2020
3cd5eea
Close those loops
euri10 Dec 28, 2020
29e5b8a
Merge branch 'master' into strict_pytest
euri10 Dec 30, 2020
0cef3fb
Is it because of lifespan was not explicitely set to off ?
euri10 Dec 30, 2020
87d98d5
Closing loop explicitely, maybe consider switching to a context manag…
euri10 Dec 30, 2020
b5ebce4
trigger GitHub actions
euri10 Feb 24, 2021
68a534d
Close the transport when connection is lost
euri10 Feb 24, 2021
486cb85
Close the transport when connection is lost works locally
euri10 Feb 24, 2021
1143933
Close the transport when connection is lost works locally
euri10 Feb 24, 2021
671ec5d
Fixed bug in message_logger.py, doesnt return
euri10 Feb 24, 2021
208a614
trace log on failing wds test in ci, cant get it locally
euri10 Feb 24, 2021
087de1f
Merge branch 'master' into strict_pytest
euri10 Feb 24, 2021
4a761b1
Hard to know which test doesnt close and make the CI fail
euri10 Feb 24, 2021
f579b61
Test order in protocols
euri10 Feb 24, 2021
0be283e
Rewrite protocols http with context manager
euri10 Feb 24, 2021
7487d70
Lint
euri10 Feb 24, 2021
360ba9a
rename order counts and still a bug
euri10 Feb 24, 2021
05339bf
WOOT ?
euri10 Feb 24, 2021
c0be109
Minimized diff, I moved tests around
euri10 Feb 24, 2021
197a85e
Minimized diff, ws test should stay the same
euri10 Feb 24, 2021
68b0b2e
Minimized diff, httptools debug stuff ermoved
euri10 Feb 24, 2021
236900c
Removing trace logs from diff
euri10 Feb 24, 2021
94046d0
Reduce diff again, we take care of that bug in https://github.com/enc…
euri10 Feb 24, 2021
7a5a16b
Removed pytest.mark.asyncio
euri10 Feb 25, 2021
bb94fb5
Merge branch 'master' into strict_pytest
euri10 Feb 25, 2021
ee4290e
Fix lifespan close loop post merge master
euri10 Feb 25, 2021
e0f8ddc
Merge branch 'master' into strict_pytest and fix test_lifespan conflicts
euri10 May 28, 2021
6017195
Fix websockets 9 deprecation warning
euri10 May 28, 2021
85bb508
Merge remote-tracking branch 'upstream/master' into strict_pytest
euri10 May 28, 2021
0bdf418
Merge branch 'master' into strict_pytest
euri10 Jun 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ known_third_party = click,does_not_exist,gunicorn,h11,httptools,pytest,requests,

[tool:pytest]
addopts = -rxXs
--strict-config
--strict-markers
xfail_strict=True
filterwarnings=
# Turn warnings that aren't filtered into exceptions
error

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it turns exceptions into errors

[coverage:run]
omit = venv/*
Expand Down
Loading