

def test_get(self, client):
    name = 'Tom'
    response = client.get(app.url_for('IndexView', name=name))
    assert (response.data == to_bytes(name))

dataset/ETHPy150Open mozillazg/bustard/tests/test_views.py TestView.test_get/original