From 875a63a21838e3c14a3a87e0dcb799e82a9798d6 Mon Sep 17 00:00:00 2001 From: phala Date: Wed, 22 Feb 2023 15:27:08 +0100 Subject: [PATCH] Use dict literal --- .../tests/kuadrant/authorino/operator/tls/conftest.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/testsuite/tests/kuadrant/authorino/operator/tls/conftest.py b/testsuite/tests/kuadrant/authorino/operator/tls/conftest.py index 99b5e85d..59b960a3 100644 --- a/testsuite/tests/kuadrant/authorino/operator/tls/conftest.py +++ b/testsuite/tests/kuadrant/authorino/operator/tls/conftest.py @@ -23,11 +23,11 @@ def cert_attributes() -> Dict[str, str]: @pytest.fixture(scope="session") def cert_attributes_other(cert_attributes) -> Dict[str, str]: """Certificate attributes that are partially different from the default ones""" - return dict(O="Other Organization", - OU="Other Unit", - L=cert_attributes["L"], - ST=cert_attributes["ST"], - C=cert_attributes["C"]) + return {"O": "Other Organization", + "OU": "Other Unit", + "L": cert_attributes["L"], + "ST": cert_attributes["ST"], + "C": cert_attributes["C"]} @pytest.fixture(scope="session")