From a8efc65c822827dbe29148db0a741fa7335b886c Mon Sep 17 00:00:00 2001 From: Brandon Butler Date: Fri, 27 Oct 2023 10:44:36 -0400 Subject: [PATCH] test: Use == on project path and remove comment --- tests/test_project.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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" )