예제 #1
0
 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)
예제 #2
0
파일: test_filters.py 프로젝트: 01-/grano
 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)
예제 #3
0
 def setUp(self):
     self.app = make_test_app()
예제 #4
0
파일: test_filters.py 프로젝트: 01-/grano
 def setUp(self):
     self.app = make_test_app()