コード例 #1
0
ファイル: test_tinydb.py プロジェクト: lhaze/dharma
 def test_clear(self, dao: TinyDbDao):
     dao.clear()
     assert list(dao.all()) == []
コード例 #2
0
 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()
コード例 #4
0
 def test_exists_empty_fail(self, dao: TinyDbDao):
     dao.clear()
     assert not dao.all().exists()