From 5a798464ad14eff6670f218b095666b9e6db397f Mon Sep 17 00:00:00 2001 From: Godmar Back Date: Wed, 5 May 2021 17:48:14 -0400 Subject: [PATCH] restart server after IPv6 tests --- tests/server_unit_test_pserv.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/server_unit_test_pserv.py b/tests/server_unit_test_pserv.py index 9541b42..995abdf 100755 --- a/tests/server_unit_test_pserv.py +++ b/tests/server_unit_test_pserv.py @@ -753,7 +753,7 @@ class Single_Conn_Malicious_Case(Doc_Print_Test_Case): except requests.exceptions.RequestException: raise AssertionError("The server did not respond within 2s") - # Ensure that access is forbidden + # Ensure that access is granted self.assertEqual(response.status_code, requests.codes.ok, "Server did not respond with private file despite being authenticated.") @@ -2206,6 +2206,7 @@ process. "Please examine the errors listed above.\n") print('Beginning Extra Tests') + server = restart_server() time.sleep(3 if run_slow else 1) # Run the extra tests test_results = unittest.TextTestRunner().run(extra_tests_suite)