def testChooseMethod(self): compress = File('repos/contrib-2007/pisi-index.xml', File.read) self.assert_(File.choose_method('pisi.conf', compress))
def testChooseMethod(self): compress = File('repos/contrib-2007/eopkg-index.xml', File.read) self.assert_(File.choose_method('pisi.conf', compress))
def testChooseMethod(self): compress = open('repos/contrib-2007/pisi-index.xml', File.read) self.assertTrue(File.choose_method('pisi.conf', compress))