File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,19 +38,19 @@ async def client(self):
3838 async def local_client (self ):
3939 """Fixture providing an OverkizClient configured for a local (developer) server."""
4040 return OverkizClient (
41- server = create_local_server_config ("gateway-1234-5678-1243.local:8443" ),
42- credentials = LocalTokenCredentials ("token" ),
41+ server = create_local_server_config (host = "gateway-1234-5678-1243.local:8443" ),
42+ credentials = LocalTokenCredentials (token = "token" ),
4343 )
4444
4545 @pytest .mark .asyncio
4646 async def test_get_api_type_cloud (self , client : OverkizClient ):
4747 """Verify that a cloud-configured client reports APIType.CLOUD."""
48- assert client .api_type == APIType .CLOUD
48+ assert client .server_config . type == APIType .CLOUD
4949
5050 @pytest .mark .asyncio
5151 async def test_get_api_type_local (self , local_client : OverkizClient ):
5252 """Verify that a local-configured client reports APIType.LOCAL."""
53- assert local_client .api_type == APIType .LOCAL
53+ assert local_client .server_config . type == APIType .LOCAL
5454
5555 @pytest .mark .asyncio
5656 async def test_get_devices_basic (self , client : OverkizClient ):
You can’t perform that action at this time.
0 commit comments