minor: fix typo in error msg

This commit is contained in:
Yun Xu 2019-06-04 10:37:03 -07:00
parent 39d134994d
commit 1b1a51c1bb

View File

@ -71,7 +71,7 @@ def test_request_stream_100_continue(app, headers, expect_raise_exception):
else: else:
with pytest.raises(ValueError) as e: with pytest.raises(ValueError) as e:
app.test_client.post("/method_view", data=data, headers={"EXPECT": "100-continue-extra"}) app.test_client.post("/method_view", data=data, headers={"EXPECT": "100-continue-extra"})
assert "Unknow Expect: 100-continue-extra" in str(e) assert "Unknown Expect: 100-continue-extra" in str(e)
def test_request_stream_app(app): def test_request_stream_app(app):