From d520a674d6502d7f767672df38ef5062f3775792 Mon Sep 17 00:00:00 2001 From: tdstein Date: Fri, 31 May 2024 14:02:26 -0400 Subject: [PATCH] fix: correct version test --- tests/posit/connect/test_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/posit/connect/test_client.py b/tests/posit/connect/test_client.py index d61f2c69..a9b4f64c 100644 --- a/tests/posit/connect/test_client.py +++ b/tests/posit/connect/test_client.py @@ -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) @@ -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):