diff --git a/tests/test_project.py b/tests/test_project.py index 7d2990a53..385e7836d 100644 --- a/tests/test_project.py +++ b/tests/test_project.py @@ -2644,10 +2644,7 @@ def check_metadata( repo, ): assert metadata["stage"] == expected_stage - # I think job.project.path gives us a relative path in the test, while - # job.project.path in hooks.utils.collect_metadata gives us the absolute path - # I don't know why this is happening. - assert job.project.path in metadata["project"]["path"] + assert job.project.path == metadata["project"]["path"] assert metadata["project"]["schema_version"] == job.project.config.get( "schema_version" )