def test_post(self, client):
        name = 'Tom'
        response = client.post(app.url_for('IndexView', name=name))
        assert response.data == to_bytes(name + ' post')
dataset/ETHPy150Open mozillazg/bustard/tests/test_views.py/TestView.test_post/original