Skip to content

Commit

Permalink
Fix a test?
Browse files Browse the repository at this point in the history
Something has recently broken on windows Python 3.12 regarding this test
  • Loading branch information
ptsavol committed Dec 17, 2024
1 parent 922efe5 commit e43afcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/tool/test_Tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ def test_find_input_files(self):
expected = {"input1.csv": [expected_urls["url1"], expected_urls["url3"]], "input2.csv": None}
self.assertEqual(2, len(result))
self.assertEqual(expected["input2.csv"], result["input2.csv"])
print(f"expected_urls:{expected_urls}")
print(f"result:{result}")
self.assertTrue(expected_urls["url3"] in result["input1.csv"] or expected_urls["url1"] in result["input1.csv"])
self.assertTrue(os.path.abspath(expected_urls["url3"]) in os.path.abspath(result["input1.csv"][0]) or os.path.abspath(expected_urls["url1"]) in os.path.abspath(result["input1.csv"][0]))
resources.pop(0)
resources.append(
ProjectItemResource("Exporter", "file", "fifth", url="file:///" + url5, metadata={}, filterable=False)
Expand Down

0 comments on commit e43afcd

Please sign in to comment.