Exemplo n.º 1
0
 def test_simple_packages(self):
     "Ensure that we get expected namespaces back for some simple packages"
     self.assertEquals('desktop', get_namespace_for_package('evolution'))
     self.assertEquals('tools', get_namespace_for_package('gcc'))
Exemplo n.º 2
0
 def test_simple_packages(self):
     "Ensure that we get expected namespaces back for some simple packages"
     self.assertEquals('desktop', get_namespace_for_package('evolution'))
     self.assertEquals('tools', get_namespace_for_package('gcc'))
Exemplo n.º 3
0
 def test_package_not_found(self):
     "Ensure that we get None for the namespace of an unrecognized package"
     self.assertEquals(None, get_namespace_for_package('foobar'))
Exemplo n.º 4
0
 def test_package_not_found(self):
     "Ensure that we get None for the namespace of an unrecognized package"
     self.assertEquals(None, get_namespace_for_package('foobar'))