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 1ae4897
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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,9 @@ 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),
)
finally:
shutil.rmtree("foo")

0 comments on commit 1ae4897

Please sign in to comment.