forked from pool/python-pyOpenSSL
- According to gh#pyca/pyopenssl#684 tests must run with TZ=UTC, also skip test_verify_with_time on %ix86. OBS-URL: https://build.opensuse.org/request/show/854961 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyOpenSSL?expand=0&rev=76
27 lines
667 B
Diff
27 lines
667 B
Diff
--- a/tests/test_ssl.py
|
|
+++ b/tests/test_ssl.py
|
|
@@ -1240,6 +1240,7 @@ class TestContext(object):
|
|
reason="set_default_verify_paths appears not to work on Windows. "
|
|
"See LP#404343 and LP#404344.",
|
|
)
|
|
+ @pytest.mark.network
|
|
def test_set_default_verify_paths(self):
|
|
"""
|
|
`Context.set_default_verify_paths` causes the platform-specific CA
|
|
--- a/setup.cfg
|
|
+++ b/setup.cfg
|
|
@@ -2,6 +2,8 @@
|
|
minversion = 3.0.1
|
|
strict = true
|
|
testpaths = tests
|
|
+markers =
|
|
+ network: test case requires network connection
|
|
|
|
[bdist_wheel]
|
|
universal = 1
|
|
@@ -19,4 +21,3 @@ doc-files = doc/_build/html
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
-
|