diff --git a/tests/unit/test_credentials.py b/tests/unit/test_credentials.py index 089fcc8695..d159e7e4a1 100644 --- a/tests/unit/test_credentials.py +++ b/tests/unit/test_credentials.py @@ -3225,6 +3225,13 @@ def test_process_not_invoked_if_not_configured_for_empty_config(self): provider = self.create_process_provider() self.assertIsNone(provider.load()) + def test_process_not_invoked_if_set_to_empty_string(self): + self.loaded_config['profiles'] = { + 'default': {'credential_process': ''} + } + provider = self.create_process_provider() + self.assertIsNone(provider.load()) + def test_can_retrieve_via_process(self): self.loaded_config['profiles'] = { 'default': {'credential_process': 'my-process'}