def test_bad_payload(web_session):
    rv = web_session.post('/post', data=json.dumps({'value': 23}))
    assert rv.status_code == 500
    assert rv.text in "Error: TypeError: Payload must be a string. Got `23`"
dataset/ETHPy150Open onefinestay/nameko/test/web/test_http_handler.py/test_bad_payload/swapped operands of `in`