Add functional tests for Model.add_machine()
[osm/N2VC.git] / tests / client / test_connection.py
1 import pytest
2
3 from juju.client.connection import Connection
4 from ..base import bootstrapped
5
6
7 @bootstrapped
8 @pytest.mark.asyncio
9 async def test_connect_current(event_loop):
10 conn = await Connection.connect_current()
11
12 assert isinstance(conn, Connection)
13 await conn.close()