From ef7169d4ebae00191aad0af02cc8f275689576ad Mon Sep 17 00:00:00 2001 From: Salomon Popp Date: Wed, 11 Oct 2023 11:16:42 +0200 Subject: [PATCH] Fix --- tests/utils/test_environment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/utils/test_environment.py b/tests/utils/test_environment.py index b3768f4b5..d1dcb8f5e 100644 --- a/tests/utils/test_environment.py +++ b/tests/utils/test_environment.py @@ -50,7 +50,7 @@ def test_update_os_environ(environment: Environment): def test_mapping(): - environment = Environment(**{"kwarg1": "value1", "kwarg2": "value2"}) + environment = Environment({"kwarg1": "value1", "kwarg2": "value2"}) assert environment["MY"] == "fake" assert environment["ENVIRONMENT"] == "here" assert environment["kwarg1"] == "value1" @@ -66,7 +66,7 @@ def test_kwargs(): def test_dict(environment: Environment): - assert environment.dict == { + assert environment._dict == { "MY": "fake", "ENVIRONMENT": "here", "PYTEST_CURRENT_TEST": ANY,