def test_login_user(self): app = make_test_app(use_cookies=True) form_content = {'login': '******', 'password': '******'} res = app.post('/login', data=form_content, follow_redirects=True) assert res.status.startswith("200"), res assert 'fixture' in res.data, res form_content = {'login': '******', 'password': '******'} res = self.app.post('/login', data=form_content) assert res.status.startswith("200"), res
def setUp(self): self.app = make_test_app() self.make_fixtures()
def setUp(self): self.app = make_test_app()
def setUp(self): self.app = make_test_app() create_fixture_user(self.app)
def setUp(self): self.app = make_test_app() create_fixture_user(self.app) assert core.app.testing