From 7efb8fae570be6accc324fca525b55adcd74ad01 Mon Sep 17 00:00:00 2001 From: Barret Schloerke Date: Tue, 12 Nov 2024 15:05:47 -0500 Subject: [PATCH] Update test_api_endpoint.py --- tests/posit/connect/test_api_endpoint.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/posit/connect/test_api_endpoint.py b/tests/posit/connect/test_api_endpoint.py index e620e159..01a19a1a 100644 --- a/tests/posit/connect/test_api_endpoint.py +++ b/tests/posit/connect/test_api_endpoint.py @@ -5,7 +5,7 @@ class TestApiEndpoint: def test_read_only(self): - obj = ReadOnlyDict({}) + obj = ReadOnlyDict() assert len(obj) == 0 @@ -14,5 +14,5 @@ def test_read_only(self): with pytest.raises(NotImplementedError): obj["foo"] = "baz" - eq_obj = ReadOnlyDict({"foo": "bar", "a": 1}) + eq_obj = ReadOnlyDict(foo="bar", a=1) assert eq_obj == {"foo": "bar", "a": 1}