Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
polyaxon-ci committed Dec 26, 2024
1 parent f43b679 commit 309fc8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions haupt/tests/tests_common/test_conf/test_option_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ def test_get_from_settings(self):
assert option_key == DummySettingsOption.key

def test_read_keys_from_env(self):
os.environ.pop(DummyEnvOption.key, None)
# The service's manager did not subscribe to the event yet
with self.assertRaises(ConfException):
self.env_service.get(key=DummyEnvOption.key)
Expand Down

0 comments on commit 309fc8a

Please sign in to comment.