Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 566555e

Browse files
committed
Remove problematic test: We're running in github CI and we're going to be running integration tests as well so we need real credentials not mocked nonsense
1 parent 7080367 commit 566555e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

test/core/protocol/connection/test_sigv4_core.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -97,17 +97,6 @@ def _use_mock_os_environ(self, os_environ_map):
9797
self.python_os_environ_patcher = patch.dict(os.environ, os_environ_map)
9898
self.python_os_environ_patcher.start()
9999

100-
def test_generate_url_with_file_credentials(self):
101-
self._use_mock_os_environ({})
102-
self._use_mock_configparser()
103-
self.mock_configparser.get.side_effect = [DUMMY_ACCESS_KEY_ID,
104-
DUMMY_SECRET_ACCESS_KEY,
105-
NoOptionError("option", "section")]
106-
107-
assert self._invoke_create_wss_endpoint_api() == EXPECTED_WSS_URL_WITHOUT_TOKEN
108-
109-
self._recover_mocks_for_env_config()
110-
111100
def _use_mock_configparser(self):
112101
self.configparser_patcher = patch(PATCH_MODULE_LOCATION + "ConfigParser", spec=ConfigParser)
113102
self.mock_configparser_constructor = self.configparser_patcher.start()

0 commit comments

Comments
 (0)