From a69459a7c6e82601bed46021ddfa012ceb2788e9 Mon Sep 17 00:00:00 2001 From: Martin Hesko Date: Tue, 12 Nov 2024 16:25:50 +0100 Subject: [PATCH] Added brackets around the policy name Signed-off-by: Martin Hesko --- testsuite/gateway/gateway_api/gateway.py | 2 +- testsuite/gateway/gateway_api/route.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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