diff --git a/src/pathcomp/frontend/tests/test_unitary_pathcomp_forecaster.py b/src/pathcomp/frontend/tests/test_unitary_pathcomp_forecaster.py
index ea617b1e116c7e8d06b13c109fe710ea5349dd88..31fe08cd6aadc339114723a833bce91adc4780dd 100644
--- a/src/pathcomp/frontend/tests/test_unitary_pathcomp_forecaster.py
+++ b/src/pathcomp/frontend/tests/test_unitary_pathcomp_forecaster.py
@@ -173,7 +173,7 @@ def test_request_service_shortestpath_forecast(
     }
     # Assert requested service has a connection associated
     # It permits having other connections not requested (i.e., connections for sub-services)
-    assert service_uuid in reply_connection_service_ids
+    assert context_service_uuid in reply_connection_service_ids
 
     # TODO: implement other checks. examples:
     # - request service and reply service endpoints match