Skip to content

Commit b757560

Browse files
committed
Add anchors
1 parent 01f5d48 commit b757560

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/interop/test_validate_hub_site_components.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def test_validate_mtls(openshift_dyn_client):
129129
)
130130
peerauth = peerauth.stdout.decode("utf-8")
131131
logger.info(f"peerauthentication: {peerauth}")
132-
if re.search('STRICT', peerauth):
132+
if re.search("^'STRICT'$", peerauth):
133133
logger.info("PASS: Peerauthentication is STRICT.")
134134
else:
135135
err_msg = "Peerauthentication is not STRICT"

0 commit comments

Comments
 (0)