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

Please make it possible to skip tests requiring Internet access #186

Open
mgorny opened this issue May 27, 2020 · 1 comment
Open

Please make it possible to skip tests requiring Internet access #186

mgorny opened this issue May 27, 2020 · 1 comment

Comments

@mgorny
Copy link

mgorny commented May 27, 2020

When run in Internet-less environment, a number of tests fail currently. We would find it very helpful if tests requiring Internet access were marked somehow, so that we could cleanly skip them.

@mgorny
Copy link
Author

mgorny commented May 27, 2020

These would be, as of 0.8.1:

tests/integration/test_hooks.py
tests/integration/test_placeholders.py
tests/integration/test_record_modes.py except for TestRecordNone
tests/integration/test_unicode.py
tests/regression/test_gzip_compression.py
tests/regression/test_requests_2_11_body_matcher.py

Of course, it would be better to run them against a locally-spawned server, e.g. using pytest-httpbin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant