Пример #1
0
 def tearDown(self):
     with self.flask_app.app_context():
         delete_indexes()
         delete_materialized_views()
         db.session.remove()
         self.redis_flushall()
         reset_all_pk_sequences()
Пример #2
0
 def tearDown(self):
     with self.flask_app.app_context():
         delete_indexes()
         delete_materialized_views()
         db.session.remove()
         self.redis_flushall()
         reset_all_pk_sequences()
Пример #3
0
 def setUp(self):
     self.flask_app = flask_app
     self.app = flask_app.test_client()
     with self.flask_app.app_context():
         rebuild_db()
         reset_all_pk_sequences()
         leaderboard()
Пример #4
0
 def setUp(self):
     self.flask_app = flask_app
     self.app = flask_app.test_client()
     with self.flask_app.app_context():
         rebuild_db()
         reset_all_pk_sequences()
         leaderboard()
Пример #5
0
 def tearDown(self):
     with self.flask_app.app_context():
         db.session.remove()
         reset_all_pk_sequences()
Пример #6
0
 def tearDown(self):
     with self.flask_app.app_context():
         db.session.remove()
         self.redis_flushall()
         reset_all_pk_sequences()
Пример #7
0
 def setUp(self):
     super(TestTaskrunAuthorization, self).setUp()
     reset_all_pk_sequences()
Пример #8
0
 def setUp(self):
     super(TestBlogpostAuthorization, self).setUp()
     reset_all_pk_sequences()
Пример #9
0
 def setUp(self):
     super(TestTaskrunAuthorization, self).setUp()
     reset_all_pk_sequences()
Пример #10
0
 def setUp(self):
     super(TestAPI, self).setUp()
     reset_all_pk_sequences()
Пример #11
0
 def setUp(self):
     super(TestProjectPassword, self).setUp()
     reset_all_pk_sequences()
 def setUp(self):
     super(TestProjectPassword, self).setUp()
     reset_all_pk_sequences()