Example #1
0
 def test_exists_empty_fail(self, dao: InMemoryDao):
     dao.clear()
     assert not dao.all().exists()
Example #2
0
 def test_exists_empty_fail(self, dao: InMemoryDao):
     dao.clear()
     assert not dao.all().exists()
Example #3
0
 def test_clear(self, dao: InMemoryDao):
     dao.clear()
     assert list(dao.all()) == []
Example #4
0
 def test_clear(self, dao: InMemoryDao):
     dao.clear()
     assert list(dao.all()) == []