

def test_view_post(self):
    url = self.url('testblueprint.advanced')
    response = self.client.post(url, data={
        'q': TEST_QUERY,
    })
    self.assert200(response)
    self.assertContains(response, TEST_QUERY)

dataset/ETHPy150Open playpauseandstop/Flask-LazyViews/testapp/testblueprint/tests.py TestBlueprint.test_view_post/original