Ejemplo n.º 1
0
 def setUp(self):
     DjangoTestCase.setUp(self)
     self.factory = ModelFactory()
     self.device_type = self.factory.make_device_type()
     self.factory.make_device(device_type=self.device_type,
                              hostname="fakeqemu1")
     self.user = self.factory.make_user()
Ejemplo n.º 2
0
 def setUp(self):
     DjangoTestCase.setUp(self)
     self.factory = ModelFactory()
     self.device_type = self.factory.make_device_type()
     self.factory.make_device(device_type=self.device_type, hostname="fakeqemu1")
     self.user = self.factory.make_user()
     logger = logging.getLogger('dispatcher-master')
     logger.disabled = True
Ejemplo n.º 3
0
 def setUp(self):
     DjangoTestCase.setUp(self)
     self.factory = ModelFactory()
     self.device_type = self.factory.make_device_type()
     self.factory.make_device(device_type=self.device_type, hostname="fakeqemu1")
     self.user = self.factory.make_user()
     logger = logging.getLogger('lava-master')
     logger.disabled = True
 def setUp(self):
     TestCase.setUp(self)
     self.factory = ModelFactory()
Ejemplo n.º 5
0
 def setUp(self):
     DjangoTestCase.setUp(self)
     self.factory = ModelFactory()
     self.device_type = self.factory.make_device_type()
     self.factory.make_device(device_type=self.device_type, hostname="fakeqemu1")