Skip to content

Commit

Permalink
Fix error text in mock response
Browse files Browse the repository at this point in the history
  • Loading branch information
airtower-luna committed Mar 12, 2021
1 parent 8f5dc4b commit caffc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mgstest/test_tests.py
Expand Up @@ -140,7 +140,7 @@ def test_run(self):
HTTPStatus.OK, {'X-Required': 'Hi!'},
b'Hello World!\n'),
mock_response(
HTTPStatus.METHOD_NOT_ALLOWED, {}, b'No such file!\n')]
HTTPStatus.METHOD_NOT_ALLOWED, {}, b'Cannot POST here!\n')]

# note that this patches HTTPSubprocessConnection as imported
# into mgstest.tests, not in the origin package
Expand Down

0 comments on commit caffc86

Please sign in to comment.