From d1ad9f7a2a7a95f5638aeef226d6332dad56e944 Mon Sep 17 00:00:00 2001 From: Luciano Lo Giudice Date: Mon, 4 Apr 2022 18:21:31 -0300 Subject: [PATCH] Use an existing application for version fetching --- zaza/openstack/charm_tests/ceph/dashboard/tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/zaza/openstack/charm_tests/ceph/dashboard/tests.py b/zaza/openstack/charm_tests/ceph/dashboard/tests.py index 06fc4a5..9710265 100644 --- a/zaza/openstack/charm_tests/ceph/dashboard/tests.py +++ b/zaza/openstack/charm_tests/ceph/dashboard/tests.py @@ -226,8 +226,9 @@ class CephDashboardTest(test_utils.BaseCharmTest): def test_saml(self): """Check that the dashboard is accessible with SAML enabled.""" - if (openstack_utils.get_os_release() < - openstack_utils.get_os_release('focal_yoga')): + get_os_release = openstack_utils.get_os_release + if (get_os_release(application='vault') < + get_os_release('focal_yoga', application='vault')): return url = self.get_master_dashboard_url()