Exemplo n.º 1
0
 def test_exists(self):
     item = Base('ident')
     self.assertFalse(Base.exists(item))
     item.save()
     self.assertTrue(Base.exists(item))
Exemplo n.º 2
0
 def test_exists(self):
     item = Base('ident')
     self.assertFalse(Base.exists(item))
     item.save()
     self.assertTrue(Base.exists(item))