def setUp(self): self.machineF25 = module_framework.get_correct_backend()[0] self.machineF26 = module_framework.get_correct_backend()[0] self.machineRawhide = module_framework.get_correct_backend()[0] self.machineF25.setRepositoriesAndWhatToInstall(repos=[ "http://ftp.fi.muni.cz/pub/linux/fedora/linux/releases/25/Everything/x86_64/os/" ]) self.machineF26.setRepositoriesAndWhatToInstall(repos=[ "http://ftp.fi.muni.cz/pub/linux/fedora/linux/development/26/Everything/x86_64/os/" ]) self.machineRawhide.setRepositoriesAndWhatToInstall(repos=[ "http://ftp.fi.muni.cz/pub/linux/fedora/linux/development/rawhide/Everything/x86_64/os/" ]) self.machineF25.setUp() self.machineF26.setUp() self.machineRawhide.setUp()
def before_all(context): context.backend, context.moduletype = module_framework.get_correct_backend()
def setUp(self): self.backend, self.moduletype = module_framework.get_correct_backend() self.backend.setUp()