Exemplo n.º 1
0
 def testThingDoesExist(self):
     Company.new(self.g, {"name": "IBM"})
     self.assertTrue(Company.exists(self.g, {"name": "IBM"}))
Exemplo n.º 2
0
 def testThingDoesExist(self):
     Company.new(self.g, {"name": "IBM"})
     self.assertTrue(Company.exists(self.g, {"name": "IBM"}))
Exemplo n.º 3
0
 def testThingNotExists(self):
     self.assertFalse(Company.exists(self.g, {"name": "fooCorp"}))
Exemplo n.º 4
0
 def testThingNotExists(self):
     self.assertFalse(Company.exists(self.g, {"name": "fooCorp"}))