diff --git a/manila_tempest_tests/tests/api/test_rules_negative.py b/manila_tempest_tests/tests/api/test_rules_negative.py index 785256f9..6dfc8da8 100644 --- a/manila_tempest_tests/tests/api/test_rules_negative.py +++ b/manila_tempest_tests/tests/api/test_rules_negative.py @@ -133,7 +133,7 @@ class ShareIpRulesForNFSNegativeTest(base.BaseSharesMixedTest): def test_create_duplicate_single_host_rules(self, access_to): """Test rules for individual clients with and without max-prefix.""" if ':' in access_to and utils.is_microversion_lt( - '2.38', CONF.share.max_api_microversion): + CONF.share.max_api_microversion, '2.38'): reason = ("Skipped. IPv6 rules are accepted from and beyond " "API version 2.38, the configured maximum API version " "is %s" % CONF.share.max_api_microversion) diff --git a/manila_tempest_tests/tests/api/test_snapshot_rules_negative.py b/manila_tempest_tests/tests/api/test_snapshot_rules_negative.py index 2e3e89c2..f4f88a92 100644 --- a/manila_tempest_tests/tests/api/test_snapshot_rules_negative.py +++ b/manila_tempest_tests/tests/api/test_snapshot_rules_negative.py @@ -71,7 +71,7 @@ class SnapshotIpRulesForNFSNegativeTest( def _test_duplicate_rules(self, access_to): if ':' in access_to and utils.is_microversion_lt( - '2.38', CONF.share.max_api_microversion): + CONF.share.max_api_microversion, '2.38'): reason = ("Skipped. IPv6 rules are accepted from and beyond " "API version 2.38, the configured maximum API version " "is %s" % CONF.share.max_api_microversion)