From a5525414c8f156d6744ce6049d295979a4b1887c Mon Sep 17 00:00:00 2001 From: cwshugg Date: Thu, 28 Apr 2022 11:52:38 -0400 Subject: [PATCH] small fix for a test's feedback --- tests/server_unit_test_pserv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/server_unit_test_pserv.py b/tests/server_unit_test_pserv.py index 2806fff..9eaa5b6 100755 --- a/tests/server_unit_test_pserv.py +++ b/tests/server_unit_test_pserv.py @@ -1722,9 +1722,9 @@ class Access_Control(Doc_Print_Test_Case): content_type = self.find_header(response, "Content-Type") content_expect = "application/json" if content_type == None: - raise AssertionError("Server didn't respond with the Content-Type header when sent a GET request to /api/login") + raise AssertionError("Server didn't respond with the Content-Type header when sent a request to /api/login") if content_type.lower() != content_expect: - raise AssertionError("Server didn't respond with the correct Content-Type value when sent a GET request to /api/login. " + raise AssertionError("Server didn't respond with the correct Content-Type value when sent a request to /api/login. " "Expected: '%s', received: '%s'" % (content_expect, content_type)) # first, we'll build the /api/login url