Exemple #1
0
 def test_contains_failure(self, data, repo: Repository, dao: IDao):
     id_ = 42
     assert not repo.contains(id_)
Exemple #2
0
 def test_contains_failure(self, data, repo: Repository, dao: IDao):
     id_ = 42
     assert not repo.contains(id_)
Exemple #3
0
 def test_contains_success(self, data, repo: Repository, dao: IDao):
     id_ = dao.insert(**data)
     assert repo.contains(id_)
Exemple #4
0
 def test_contains_success(self, data, repo: Repository, dao: IDao):
     id_ = dao.insert(**data)
     assert repo.contains(id_)