Пример #1
0
 def test_exists(self):
     rep = FixRepository()
     fix_id = rep.create('01.01.2018_12:00')
     boolean = rep.exists(fix_id)
     self.assertTrue(boolean)
     rep.delete(fix_id)
Пример #2
0
 def test_delete(self):
     rep = FixRepository()
     fix_id = rep.create('01.01.2018_12:00')
     rep.delete(fix_id)
     self.assertFalse(rep.exists(fix_id))