diff -r fbb9847b8f43 Lib/packaging/tests/test_install.py --- a/Lib/packaging/tests/test_install.py Sun Mar 04 07:15:21 2012 +0200 +++ b/Lib/packaging/tests/test_install.py Sun Mar 04 12:35:49 2012 +0100 @@ -217,13 +217,20 @@ @unittest.skipIf(threading is None, 'needs threading') @use_xmlrpc_server() def test_installation_unexisting_project(self, server): - # Test that the isntalled raises an exception if the project does not + # Test that the installed raises an exception if the project does not # exists. client = self._get_client(server) self.assertRaises(install.InstallationException, install.get_infos, 'unexisting project', index=client) + @unittest.skipIf(threading is None, 'needs threading') + def test_installation_get_infos_with_default_index(self): + # Test the use of the class ClientWrapper to get project metadata + output = install.get_infos('bacon') + installed, remove, conflict = self._get_results(output) + self.assertIn(('bacon', '0.0'), installed) + def test_move_files(self): # test that the files are really moved, and that the new path is # returned.