Merge pull request #33839 from cachedout/fix_pkgresource_test_stacktrace

Fix another unit test stacktrace in pkg_resource
This commit is contained in:
Mike Place 2016-06-08 06:32:55 -07:00
commit f7b3d0eda0

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):
'''