From 4f5aedebfe4c9b9250ee6d6c6c855c7d7819504b Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Fri, 16 Dec 2022 14:20:43 +0300 Subject: [PATCH] Fix wildcard flag value Signed-off-by: Andrey Berezin --- pytest_tests/steps/session_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pytest_tests/steps/session_token.py b/pytest_tests/steps/session_token.py index a05bc4dc..206d4753 100644 --- a/pytest_tests/steps/session_token.py +++ b/pytest_tests/steps/session_token.py @@ -124,7 +124,7 @@ def generate_container_session_token( session = { "container": { "verb": verb.value, - "wildcard": cid is not None, + "wildcard": cid is None, **({"containerID": {"value": f"{encode_for_json(cid)}"}} if cid is not None else {}), }, }