Skip to content

Commit ed54813

Browse files
committed
#584: fixed CI issues
1 parent 3fa7cd2 commit ed54813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/IO/test_configuration_validator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,15 +287,15 @@ def test_config_validator_wrong_max_subclusters_type(self):
287287
configuration = yaml.safe_load(yaml_str)
288288
with self.assertRaises(SchemaError) as err:
289289
ConfigurationValidator(config_to_validate=configuration, logger=get_logger()).main()
290-
self.assertEqual(err.exception.args[0], "Should be of type 'int' and > 0")
290+
self.assertEqual(err.exception.args[0], "Should be of type 'int' and >= 0")
291291

292292
def test_config_validator_wrong_max_subclusters_mag(self):
293293
with open(os.path.join(self.config_dir, "conf_wrong_max_subclusters_mag.yml"), "rt", encoding="utf-8") as config_file:
294294
yaml_str = config_file.read()
295295
configuration = yaml.safe_load(yaml_str)
296296
with self.assertRaises(SchemaError) as err:
297297
ConfigurationValidator(config_to_validate=configuration, logger=get_logger()).main()
298-
self.assertEqual(err.exception.args[0], "Should be of type 'int' and > 0")
298+
self.assertEqual(err.exception.args[0], "Should be of type 'int' and >= 0")
299299

300300
def test_config_validator_wrong_separate_subclustering(self):
301301
with open(os.path.join(self.config_dir, "conf_wrong_separate_subclustering.yml"), "rt", encoding="utf-8") as config_file:

0 commit comments

Comments
 (0)