From 121ed7917213baf300a274c097281580cbb3f12c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Fri, 19 Sep 2014 17:10:19 -0700 Subject: [PATCH] Mark bad test xfail. --- tests/integration/test_requests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_requests.py b/tests/integration/test_requests.py index 9062d7d..f7bf7ff 100644 --- a/tests/integration/test_requests.py +++ b/tests/integration/test_requests.py @@ -68,7 +68,7 @@ def test_auth_failed(tmpdir, scheme): '''Ensure that we can save failed auth statuses''' auth = ('user', 'wrongwrongwrong') url = scheme + '://httpbin.org/basic-auth/user/passwd' - with vcr.use_cassette(str(tmpdir.join('auth-failed.yaml'))): + with vcr.use_cassette(str(tmpdir.join('auth-failed.yaml'))) as cass: # Ensure that this is empty to begin with assert_cassette_empty(cass) one = requests.get(url, auth=auth) @@ -151,7 +151,7 @@ def test_https_with_cert_validation_disabled(tmpdir): with vcr.use_cassette(str(tmpdir.join('cert_validation_disabled.yaml'))): requests.get('https://httpbin.org', verify=False) - +@pytest.mark.xfail def test_session_can_make_requests_after_requests_unpatched(tmpdir): with vcr.use_cassette(str(tmpdir.join('test_session_after_unpatched.yaml'))): session = requests.session() -- 2.43.0