From caffc866cc56f1c0fb855ed3b9522ab666456e0a Mon Sep 17 00:00:00 2001 From: Fiona Klute Date: Fri, 12 Mar 2021 19:23:40 +0100 Subject: [PATCH] Fix error text in mock response --- test/mgstest/test_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mgstest/test_tests.py b/test/mgstest/test_tests.py index 6153a33..2a72f2b 100644 --- a/test/mgstest/test_tests.py +++ b/test/mgstest/test_tests.py @@ -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