Skip to content

Commit

Permalink
Update driver test assertion message
Browse files Browse the repository at this point in the history
  • Loading branch information
pszpetkowski committed Jul 8, 2023
1 parent 15ee11f commit 1844ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_runner/test_drivers/test_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_driver_invalid_config_init_error(example_driver_cls: type[Driver]):
with pytest.raises(SchemaError) as e:
example_driver_cls(config={"value": 42})

assert e.value.errors == {"value": "value `42` not allowed; is not str"}
assert e.value.errors == {"value": "expected str, got int"}


def test_driver_init_success(example_driver_cls: type[Driver]):
Expand Down

0 comments on commit 1844ec3

Please sign in to comment.