def test_contains_failure(self, data, repo: Repository, dao: IDao): id_ = 42 assert not repo.contains(id_)
def test_contains_failure(self, data, repo: Repository, dao: IDao): id_ = 42 assert not repo.contains(id_)
def test_contains_success(self, data, repo: Repository, dao: IDao): id_ = dao.insert(**data) assert repo.contains(id_)
def test_contains_success(self, data, repo: Repository, dao: IDao): id_ = dao.insert(**data) assert repo.contains(id_)