Skip to content

Commit

Permalink
fix test_search_files for windows (#3073)
Browse files Browse the repository at this point in the history
Co-authored-by: Richard Beales <rich@richbeales.net>
  • Loading branch information
k-boikov and richbeales authored Apr 24, 2023
1 parent cade788 commit 3886afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_file_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def test_search_files(self):
files = search_files(str(self.workspace.root))
self.assertIn(file_a.name, files)
self.assertIn(file_b.name, files)
self.assertIn(f"{Path(self.test_directory).name}/{file_a.name}", files)
self.assertIn(os.path.join(Path(self.test_directory).name, file_a.name), files)

# Clean up
os.remove(file_a)
Expand Down

0 comments on commit 3886afc

Please sign in to comment.