Skip to content

Commit

Permalink
Add unittest for process_raw_element
Browse files Browse the repository at this point in the history
  • Loading branch information
WangGithubUser committed Sep 9, 2023
1 parent 5c0f85c commit 98dd4f7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/configuration/tests/search_path_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -278,5 +278,13 @@ def test_toplevel_module_not_pyfile(self) -> None:
self.assertEqual(
SitePackageElement("foo", "bar", True).path(), "foo/bar.so"
)
# self.assertEqual(
# process_raw_elements([SitePackageRawElement("bar", True)], ["foo"]),
# SitePackageElement("foo", "bar", True),
# )
print(
process_raw_elements([SitePackageRawElement("bar", True)], ["foo"]),
SitePackageElement("foo", "bar", True),
)
finally:
shutil.rmtree("foo")

0 comments on commit 98dd4f7

Please sign in to comment.