Commits

Ronny Pfannschmidt committed 6e16fa1

fix package finder test

  • Participants
  • Parent commits a4f0796

Comments (0)

Files changed (1)

tests/tasks/test_metadata.py

 import py
-from pu.tasks.metadata import FindPackages, find_packages
+from pu.tasks.metadata import FindPackages, find_packages as gen_find_packages
 from pu.tasks.metadata import ReadYamlMetadata
 
+def find_packages(source, pkg):
+    return list(gen_find_packages(source, pkg))
 
 def test_find_packages(source):
     pkg = source.join('pkg')