Skip to content

Commit

Permalink
Update test_api_endpoint.py
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Nov 12, 2024
1 parent 69bfa82 commit 7efb8fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/posit/connect/test_api_endpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

class TestApiEndpoint:
def test_read_only(self):
obj = ReadOnlyDict({})
obj = ReadOnlyDict()

assert len(obj) == 0

Expand All @@ -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}

0 comments on commit 7efb8fa

Please sign in to comment.