diff --git a/tests/test_runner/test_drivers/test_driver.py b/tests/test_runner/test_drivers/test_driver.py index a6d927a..149209b 100644 --- a/tests/test_runner/test_drivers/test_driver.py +++ b/tests/test_runner/test_drivers/test_driver.py @@ -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]):