def test_add_pkg(self): ''' Test to add a package to a dict of installed packages. ''' self.assertIsNone(pkg_resource.add_pkg({'pkgs': []}, 'name', 'version'))
def test_add_pkg(self): ''' Test to add a package to a dict of installed packages. ''' self.assertIsNone(pkg_resource.add_pkg('pkgs', 'name', 'version'))
def test_add_pkg(self): """ Test to add a package to a dict of installed packages. """ self.assertIsNone(pkg_resource.add_pkg({"pkgs": []}, "name", "version"))
def test_add_pkg(): """ Test to add a package to a dict of installed packages. """ assert pkg_resource.add_pkg({"pkgs": []}, "name", "version") is None