Skip to content

Commit bdcaf64

Browse files
committed
fix: config_manager testcase.
1 parent 7ad6909 commit bdcaf64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_config_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ def test_set_update_interval(self, _):
224224
project_config_manager.set_update_interval('invalid interval')
225225

226226
# Assert that update_interval cannot be set to less than allowed minimum and instead is set to default value.
227-
project_config_manager.set_update_interval(0.42)
227+
project_config_manager.set_update_interval(-4.2)
228228
self.assertEqual(enums.ConfigManager.DEFAULT_UPDATE_INTERVAL, project_config_manager.update_interval)
229229

230230
# Assert that if no update_interval is provided, it is set to default value.

0 commit comments

Comments
 (0)