Skip to content

Commit

Permalink
Fix failing debian tests from latest refactorings #2058
Browse files Browse the repository at this point in the history
debian.py is now its own module

Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
  • Loading branch information
pombredanne committed Aug 3, 2020
1 parent 8bf057e commit e99c101
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/packagedcode/data/plugin/help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ Package: cpan

--------------------------------------------
Package: deb
class: packagedcode.models:DebianPackage
class: packagedcode.debian:DebianPackage
metafiles: *.control
extensions: .deb
filetypes: debian binary package
Expand Down
2 changes: 1 addition & 1 deletion tests/packagedcode/test_recognize.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_recognize_packages_deb(self):
test_file = self.get_test_loc('archives/adduser_3.112ubuntu1_all.deb')
packages = recognize_packages(test_file)
assert packages
assert isinstance(packages[0], packagedcode.models.DebianPackage)
assert isinstance(packages[0], packagedcode.debian.DebianPackage)

def test_recognize_packages_rpm(self):
test_file = self.get_test_loc('archives/alfandega-2.2-2.rh80.src.rpm')
Expand Down

0 comments on commit e99c101

Please sign in to comment.