Beispiel #1
0
 def test_exists(self):
     item = Base('ident')
     self.assertFalse(Base.exists(item))
     item.save()
     self.assertTrue(Base.exists(item))
Beispiel #2
0
 def test_exists(self):
     item = Base('ident')
     self.assertFalse(Base.exists(item))
     item.save()
     self.assertTrue(Base.exists(item))