示例#1
0
 def test_initial_borg_state_shall_be_init(self):
     b = Borg()
     self.assertEqual(b.state, "Init")
示例#2
0
 def setUp(self):
     self.b1 = Borg()
     self.b2 = Borg()
     # creating YourBorg instance implicitly sets the state attribute
     # for all borg instances.
     self.ib1 = YourBorg()
示例#3
0
 def setUp(self):
     self.b1 = Borg()
     self.b2 = Borg()
     self.ib1 = YourBorg()