Fix another unit test stacktrace in pkg_resource

This commit is contained in:
Mike Place 2016-06-07 15:55:52 -06:00
parent 1db559afe9
commit 435547a747

View file

@ -117,7 +117,7 @@ class PkgresTestCase(TestCase):
'''
Test to add a package to a dict of installed packages.
'''
self.assertIsNone(pkg_resource.add_pkg('pkgs', 'name', 'version'))
self.assertIsNone(pkg_resource.add_pkg({'pkgs': []}, 'name', 'version'))
def test_sort_pkglist(self):
'''