Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Nov 18, 2024
1 parent 011c124 commit b59c689
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tests/posit/connect/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_unknown(self):
json={},
)

ctx = Context(Client("http://connect.example"))
ctx = Context(Client("http://connect.example", "12345"))

assert ctx.version is None

Expand All @@ -75,7 +75,7 @@ def test_known(self):
json={"version": "2024.09.24"},
)

ctx = Context(Client("http://connect.example"))
ctx = Context(Client("http://connect.example", "12345"))

assert ctx.version == "2024.09.24"

Expand Down
2 changes: 1 addition & 1 deletion tests/posit/connect/test_groups.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def test_owner_guid(self):
class TestGroupMembers:
@classmethod
def setup_class(cls):
cls.client = Client("https://connect.example")
cls.client = Client("https://connect.example", "12345")
guid = "6f300623-1e0c-48e6-a473-ddf630c0c0c3"
fake_item = load_mock_dict(f"v1/groups/{guid}.json")
ctx = Context(cls.client)
Expand Down

0 comments on commit b59c689

Please sign in to comment.