From 2d5441d6104b30c06e71067c127583270d07eaea Mon Sep 17 00:00:00 2001 From: James Rosewell Date: Wed, 4 Nov 2026 23:02:50 +0000 Subject: [PATCH] Look for the resource keys link the cloud engine now gives in the cloud tests #35 moved the resource keys explainer link in the cloud request engine's messages from _info__resource_keys.html to _services__cloud__resource_keys.html. test_missing_property_service_element_not_found and test_missing_property_service_not_found_anywhere still looked for the old link, so they failed in every Test job of the publish. --- .../fiftyone_devicedetection_cloud/tests/test_cloud.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/device-detection/fiftyone_devicedetection_cloud/tests/test_cloud.py b/device-detection/fiftyone_devicedetection_cloud/tests/test_cloud.py index 3151778e..c5369df1 100644 --- a/device-detection/fiftyone_devicedetection_cloud/tests/test_cloud.py +++ b/device-detection/fiftyone_devicedetection_cloud/tests/test_cloud.py @@ -121,7 +121,7 @@ def test_missing_property_service_element_not_found(self): result = str(raised.exception) self.assertIn("notpresent", result) self.assertIn("['device']", result) - self.assertIn("https://51degrees.com/documentation/_info__resource_keys.html", result) + self.assertIn("https://51degrees.com/documentation/_services__cloud__resource_keys.html", result) def test_engine_init_performance(self): """! @@ -172,7 +172,7 @@ def test_missing_property_service_not_found_anywhere(self): self.assertIn("notpresent", result) self.assertIn("device", result) self.assertIn(', '.join(pipeline.get_element("device").get_properties().keys()), result) - self.assertIn("https://51degrees.com/documentation/_info__resource_keys.html", result) + self.assertIn("https://51degrees.com/documentation/_services__cloud__resource_keys.html", result) def test_cloud_request_origin(self): """!