예제 #1
0
파일: test_tinydb.py 프로젝트: lhaze/dharma
 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
파일: test_tinydb.py 프로젝트: lhaze/dharma
 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()