Skip to content

Commit

Permalink
fix: correct version test
Browse files Browse the repository at this point in the history
  • Loading branch information
tdstein committed May 31, 2024
1 parent 4d3b4d8 commit d520a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/posit/connect/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test__exit__(self, MockSession):
MockSession.return_value.close.assert_called_once()

@responses.activate
def test_connect_version(self):
def test_version(self):
api_key = "foobar"
url = "http://foo.bar/__api__"
client = Client(api_key=api_key, url=url)
Expand All @@ -74,7 +74,7 @@ def test_connect_version(self):
"http://foo.bar/__api__/server_settings",
json={"version": "2024.01.0"},
)
assert client.connect_version == "2024.01.0"
assert client.version == "2024.01.0"

@responses.activate
def test_me_request(self):
Expand Down

0 comments on commit d520a67

Please sign in to comment.