MCPcopy Create free account
hub / github.com/Azure/azure-storage-python / _set_test_proxy

Method _set_test_proxy

tests/testcase.py:127–134  ·  view source on GitHub ↗
(service, settings)

Source from the content-addressed store, hash-verified

125
126 @staticmethod
127 def _set_test_proxy(service, settings):
128 if settings.USE_PROXY:
129 service.set_proxy(
130 settings.PROXY_HOST,
131 settings.PROXY_PORT,
132 settings.PROXY_USER,
133 settings.PROXY_PASSWORD,
134 )
135
136 def _create_storage_service(self, service_class, settings):
137 if settings.CONNECTION_STRING:

Calls 1

set_proxyMethod · 0.45

Tested by

no test coverage detected