Skip to content

Commit

Permalink
test: Use == on project path and remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
b-butler committed Oct 27, 2023
1 parent 2ef3f04 commit a8efc65
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit a8efc65

Please sign in to comment.