예제 #1
0
    def teardown_class(self):
        # clear routes 'id' so that next test to run doesn't get it

        with self.app.flask_app.test_request_context():
            url = url_for(controller='user', action='login', id=None)

        self.app.get(url)
        SmtpServerHarness.teardown_class()
        model.repo.rebuild_db()
예제 #2
0
 def teardown_class(cls):
     SmtpServerHarness.teardown_class()
     helpers.reset_db()
예제 #3
0
파일: test_user.py 프로젝트: 6779660/ckan
 def teardown_class(self):
     # clear routes 'id' so that next test to run doesn't get it
     self.app.get(url_for(controller='user', action='login', id=None))
     SmtpServerHarness.teardown_class()
     model.repo.rebuild_db()
예제 #4
0
 def teardown_class(self):
     # clear routes 'id' so that next test to run doesn't get it
     self.app.get(url_for('user.login', id=None))
     SmtpServerHarness.teardown_class()
     model.repo.rebuild_db()
예제 #5
0
파일: test_mailer.py 프로젝트: vjf/ckan
 def teardown_class(cls):
     SmtpServerHarness.teardown_class()
     helpers.reset_db()
예제 #6
0
 def teardown_class(cls):
     SmtpServerHarness.teardown_class()
 def teardown_class(cls):
     SmtpServerHarness.teardown_class()
예제 #8
0
 def teardown_class(cls):
     SmtpServerHarness.teardown_class()
     model.repo.rebuild_db()
예제 #9
0
 def teardown_class(cls):
     SmtpServerHarness.teardown_class()
     model.repo.rebuild_db()