X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tests%2Fintegration%2Ftest_client.py;h=240c471aa5c5c6a7918a0e285aec326bb9f3b511;hp=e4c9c92b928290ab17355e06bdc2a6718a9dba98;hb=b8a8281b1785358bd5632a119c016f21811172c6;hpb=dcdf82bbc1ef310379f746518b2dd3b006353cb3 diff --git a/tests/integration/test_client.py b/tests/integration/test_client.py index e4c9c92..240c471 100644 --- a/tests/integration/test_client.py +++ b/tests/integration/test_client.py @@ -1,7 +1,7 @@ -import pytest - from juju.client import client +import pytest + from .. import base @@ -9,7 +9,7 @@ from .. import base @pytest.mark.asyncio async def test_user_info(event_loop): async with base.CleanModel() as model: - controller_conn = await model.connection.controller() + controller_conn = await model.connection().controller() um = client.UserManagerFacade.from_connection(controller_conn) result = await um.UserInfo(