def setUp(self):
     self.udd = Udd()
     self.checker = Checker(self.udd.BindRelease())  # i386 stable
     self.sidchecker = Checker(self.udd.BindRelease(release='sid'))  # i386
 def setUp(self):
     self.udd = Udd()
     self.checker = InstallChecker(self.udd.BindRelease())
 def setUp(self):
     self.udd = Udd()
 def setUp(self):
     self.udd = Udd()
     self.checker = BuildDepsChecker(
         self.udd.BindRelease(arch="i386", release="sid"))
 def testPassConfig(self):
     """Test loading a config file manually"""
     config = Config()
     self.assertTrue(Udd(config=config))
 def testDBTypes(self):
     """Test creating a Debian and derivative UDD instance"""
     self.assertTrue(Udd(distro='debian'))
     self.assertRaises(NotImplementedError, Udd,
                       distro='ubuntu')  # TODO: update when implemented
     self.assertRaises(ValueError, Udd, distro='nosuchdistro')
Ejemplo n.º 7
0
 def setUp(self):
     self.udd = Udd()
     self.dispatcher = Commands(self.udd)
 def setUp(self):
     self.udd = Udd()
     self.bts = self.udd.Bts(True)
     self.btsc = self.udd.Bts(False)