Пример #1
0
 def test_clear(self, dao: TinyDbDao):
     dao.clear()
     assert list(dao.all()) == []
 def test_clear(self, dao: TinyDbDao):
     dao.clear()
     assert list(dao.all()) == []
Пример #3
0
 def test_exists_empty_fail(self, dao: TinyDbDao):
     dao.clear()
     assert not dao.all().exists()
 def test_exists_empty_fail(self, dao: TinyDbDao):
     dao.clear()
     assert not dao.all().exists()