Skip to content

Commit

Permalink
Better check for file name existing
Browse files Browse the repository at this point in the history
  • Loading branch information
aanil committed Jan 3, 2024
1 parent be60dca commit eb51d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_ngi_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_modified_or_new_staged(data_repo_new_staged):
modified_or_new = data_master.get_modified_or_new_projects()
file_names = [project.relative_path for project in modified_or_new]
assert len(set(file_names)) == 5
assert "staged_file" in file_names[3]
assert any("staged_file" in s for s in file_names)


def test_modified_or_new_modified_not_staged(data_repo_modified_not_staged):
Expand Down

0 comments on commit eb51d9f

Please sign in to comment.