Skip to content

Commit

Permalink
Forgot bool.
Browse files Browse the repository at this point in the history
  • Loading branch information
lymereJ committed Oct 27, 2023
1 parent 5da064d commit cfe2339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ def test_bad_schema(self):
input_file = json.load(open("./tests/data/cli_input_file.json", "r"))
input_file["actions"][0]["function_call"]["vars"] = 42.0
with self.assertLogs() as captured:
assert cp.Schema(input=input_file).validate()
assert cp.Schema(input=input_file).validate() == False
self.assertTrue(captured[0][0].msg == "Input file is not valid.")

0 comments on commit cfe2339

Please sign in to comment.