Skip to content

Commit dd9ef6f

Browse files
committed
Fix integration tests test_relate, test_list_secrets
1 parent 568901b commit dd9ef6f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integration/test_model.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -611,13 +611,13 @@ async def test_relate(event_loop):
611611
await model.deploy(
612612
'ubuntu',
613613
application_name='ubuntu',
614-
series='bionic',
614+
base='ubuntu@20.04/stable',
615615
channel='stable',
616616
)
617617
await model.deploy(
618618
'nrpe',
619619
application_name='nrpe',
620-
series='bionic',
620+
base='ubuntu@20.04/stable',
621621
channel='stable',
622622
# subordinates must be deployed without units
623623
num_units=0,
@@ -1291,5 +1291,5 @@ async def test_list_secrets(event_loop):
12911291
assert model.units['charm-secret/0'].workload_status == 'active'
12921292

12931293
secrets = await model.list_secrets(show_secrets=True)
1294-
assert secrets.results is not None
1294+
assert secrets is not None
12951295
assert len(secrets.results) == 1

0 commit comments

Comments
 (0)