22 lines
1.1 KiB
Text
22 lines
1.1 KiB
Text
|
_pbuild user is blocked from accessing the Internet
|
||
|
|
||
|
Index: tests/unit/test_stubs.py
|
||
|
--- tests/unit/test_stubs.py.orig
|
||
|
+++ tests/unit/test_stubs.py
|
||
|
@@ -11,9 +11,9 @@ class TestVCRConnection:
|
||
|
vcr_connection.ssl_version = "example_ssl_version"
|
||
|
assert vcr_connection.real_connection.ssl_version == "example_ssl_version"
|
||
|
|
||
|
- @mock.patch("vcr.cassette.Cassette.can_play_response_for", return_value=False)
|
||
|
- def testing_connect(*args):
|
||
|
- vcr_connection = VCRHTTPSConnection("www.google.com")
|
||
|
- vcr_connection.cassette = Cassette("test", record_mode=mode.ALL)
|
||
|
- vcr_connection.real_connection.connect()
|
||
|
- assert vcr_connection.real_connection.sock is not None
|
||
|
+ #@mock.patch("vcr.cassette.Cassette.can_play_response_for", return_value=False)
|
||
|
+ #def testing_connect(*args):
|
||
|
+ # vcr_connection = VCRHTTPSConnection("www.google.com")
|
||
|
+ # vcr_connection.cassette = Cassette("test", record_mode=mode.ALL)
|
||
|
+ # vcr_connection.real_connection.connect()
|
||
|
+ # assert vcr_connection.real_connection.sock is not None
|