def setUp(self): self.app = make_test_app() Entity.all().delete() # Consistently include an extra private project with Entity # that should not show in any test results project, permission = _project_and_permission(private=True) entity = Entity(project=project, status=authz.PUBLISHED_THRESHOLD) db.session.add(entity)
def setUp(self): self.app = make_test_app()