diff --git a/testsuite/gateway/gateway_api/gateway.py b/testsuite/gateway/gateway_api/gateway.py index e699ef77..a9963a53 100644 --- a/testsuite/gateway/gateway_api/gateway.py +++ b/testsuite/gateway/gateway_api/gateway.py @@ -78,7 +78,7 @@ def is_affected_by(self, policy: Policy) -> bool: f"kuadrant.io/{policy.kind(lowercase=False)}Affected", "True", "Accepted", - f"Object affected by {policy.kind(lowercase=False)} {policy.namespace()}/{policy.name()}", + f"Object affected by {policy.kind(lowercase=False)} [{policy.namespace()}/{policy.name()}]", ): return True return False diff --git a/testsuite/gateway/gateway_api/route.py b/testsuite/gateway/gateway_api/route.py index 5294e237..50a9cd7a 100644 --- a/testsuite/gateway/gateway_api/route.py +++ b/testsuite/gateway/gateway_api/route.py @@ -54,7 +54,7 @@ def is_affected_by(self, policy: Policy): f"kuadrant.io/{policy.kind(lowercase=False)}Affected", "True", "Accepted", - f"Object affected by {policy.kind(lowercase=False)} {policy.namespace()}/{policy.name()}", + f"Object affected by {policy.kind(lowercase=False)} [{policy.namespace()}/{policy.name()}]", ): return True return False