From 539b522f724e8c642a2e70d7cdf3efac967442d6 Mon Sep 17 00:00:00 2001 From: charlie4284 Date: Thu, 11 Apr 2024 16:52:32 +0800 Subject: [PATCH] workflow status assertion fix --- tests/integration/test_charm_base_image.py | 2 +- tests/integration/test_openstack_base_image.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_charm_base_image.py b/tests/integration/test_charm_base_image.py index 711771c10..0243b5cee 100644 --- a/tests/integration/test_charm_base_image.py +++ b/tests/integration/test_charm_base_image.py @@ -54,4 +54,4 @@ async def test_runner_base_image( ) workflow_run: WorkflowRun = workflow.get_runs()[0] - assert workflow_run.status == "success" + assert workflow_run.status == "completed" diff --git a/tests/integration/test_openstack_base_image.py b/tests/integration/test_openstack_base_image.py index 82418f3bf..cabb9f8ce 100644 --- a/tests/integration/test_openstack_base_image.py +++ b/tests/integration/test_openstack_base_image.py @@ -45,7 +45,7 @@ async def test_noble_base_image( ) # 1. the workflow run completes successfully. workflow_run: WorkflowRun = workflow.get_runs()[0] - assert workflow_run.status == "success" + assert workflow_run.status == "completed" # 2. when the servers are listed. servers = openstack_connection.list_servers(detailed=True)