Skip to content

Commit b59c689

Browse files
committed
Fix tests
1 parent 011c124 commit b59c689

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/posit/connect/test_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def test_unknown(self):
6464
json={},
6565
)
6666

67-
ctx = Context(Client("http://connect.example"))
67+
ctx = Context(Client("http://connect.example", "12345"))
6868

6969
assert ctx.version is None
7070

@@ -75,7 +75,7 @@ def test_known(self):
7575
json={"version": "2024.09.24"},
7676
)
7777

78-
ctx = Context(Client("http://connect.example"))
78+
ctx = Context(Client("http://connect.example", "12345"))
7979

8080
assert ctx.version == "2024.09.24"
8181

tests/posit/connect/test_groups.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def test_owner_guid(self):
3434
class TestGroupMembers:
3535
@classmethod
3636
def setup_class(cls):
37-
cls.client = Client("https://connect.example")
37+
cls.client = Client("https://connect.example", "12345")
3838
guid = "6f300623-1e0c-48e6-a473-ddf630c0c0c3"
3939
fake_item = load_mock_dict(f"v1/groups/{guid}.json")
4040
ctx = Context(cls.client)

0 commit comments

Comments
 (0)