Skip to content

Commit

Permalink
test: add unittest for is_entry_points_scripts_package
Browse files Browse the repository at this point in the history
  • Loading branch information
bpabel committed Jun 30, 2022
1 parent 75618dd commit f087b1a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/rez/tests/test_pip_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,13 @@ def test_is_pure_python_package(self):

self.assertTrue(rez.utils.pip.is_pure_python_package(dist))

def test_is_entry_points_scripts_package(self):
"""
"""
dpath = rez.vendor.distlib.database.DistributionPath([self.dist_path])
dist = list(dpath.get_distributions())[0]
self.assertFalse(rez.utils.pip.is_entry_points_scripts_package(dist))

def test_convert_distlib_to_setuptools_wrong(self):
"""
"""
Expand Down

0 comments on commit f087b1a

Please sign in to comment.