projects
/
osm
/
N2VC.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixes based on review
[osm/N2VC.git]
/
tests
/
integration
/
test_connection.py
1
import
pytest
2
3
from
juju
.
client
.
connection
import
Connection
4
from
..
import
base
5
6
7
@base
.
bootstrapped
8
@pytest
.
mark
.
asyncio
9
async def
test_connect_current
(
event_loop
):
10
async
with base
.
CleanModel
():
11
conn
=
await
Connection
.
connect_current
()
12
13
assert
isinstance
(
conn
,
Connection
)
14
await
conn
.
close
()