diff --git a/tests/functional/schema_tests/test_custom_test_config.py b/tests/functional/schema_tests/test_custom_test_config.py index b5632cd7664..bafa5427e42 100644 --- a/tests/functional/schema_tests/test_custom_test_config.py +++ b/tests/functional/schema_tests/test_custom_test_config.py @@ -204,6 +204,3 @@ def test_same_key_error(self, project): # Assert that the error message contains the expected text assert "Test cannot have the same key at the top-level and in config" in exception_message - - # Assert that the error message contains the context of the error - assert "models/same_key_error.yml" in exception_message