Skip to content

Commit

Permalink
Fix ListParameterTest::test_schema test for newest jsonschema package
Browse files Browse the repository at this point in the history
  • Loading branch information
starhel committed May 7, 2024
1 parent 3cd9e54 commit fd7a5b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/list_parameter_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def test_schema(self):

# Check that invalid lists raise correct errors
invalid_list_type = ["NOT AN INT"]
invalid_list_value = [-999, 999]
invalid_list_value = [-999, 4]

with pytest.raises(ValidationError, match="'NOT AN INT' is not of type 'number'"):
a.normalize(invalid_list_type)
Expand Down

0 comments on commit fd7a5b1

Please sign in to comment.