From 678c13e248cf4c0c1057d84518a23b728ab34d16 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 7 Sep 2023 21:25:08 +0000 Subject: [PATCH] Fix mock error message --- tom_observations/tests/facilities/test_ocs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tom_observations/tests/facilities/test_ocs.py b/tom_observations/tests/facilities/test_ocs.py index 45a3133bb..7d95ac31f 100644 --- a/tom_observations/tests/facilities/test_ocs.py +++ b/tom_observations/tests/facilities/test_ocs.py @@ -227,7 +227,7 @@ def setUp(self): @patch('tom_observations.facilities.ocs.make_request') def test_get_facility_status_fails_gracefully(self, mock_make_request): mock_response = Response() - mock_response._content = str.encode('ConnectionError - Error retrieving telescope availability') + mock_response._content = str.encode('ConnectionError - Error retrieving telescope states') mock_response.status_code = 502 mock_make_request.return_value = mock_response facility_status = self.lco.get_facility_status()