Fix the misspelling of "available"
Change-Id: I28cae6422c0d4b63b386dd7454202eeada2bb7c3
diff --git a/patrole_tempest_plugin/tests/api/network/rbac_base.py b/patrole_tempest_plugin/tests/api/network/rbac_base.py
index dc0ce7f..62e95c3 100644
--- a/patrole_tempest_plugin/tests/api/network/rbac_base.py
+++ b/patrole_tempest_plugin/tests/api/network/rbac_base.py
@@ -39,7 +39,7 @@
"""Register auth_provider from neutron-tempest-plugin.
"""
providers = super(BaseNetworkExtRbacTest, cls).get_auth_providers()
- if cls.is_neutron_tempest_plugin_avaliable():
+ if cls.is_neutron_tempest_plugin_available():
providers.append(cls.ntp_client.auth_provider)
return providers
@@ -47,12 +47,12 @@
def skip_checks(cls):
super(BaseNetworkExtRbacTest, cls).skip_checks()
- if not cls.is_neutron_tempest_plugin_avaliable():
+ if not cls.is_neutron_tempest_plugin_available():
msg = ("neutron-tempest-plugin not installed.")
raise cls.skipException(msg)
@classmethod
- def is_neutron_tempest_plugin_avaliable(cls):
+ def is_neutron_tempest_plugin_available(cls):
try:
import neutron_tempest_plugin # noqa
return True
@@ -69,7 +69,7 @@
)
# Import neutron-tempest-plugin clients
- if cls.is_neutron_tempest_plugin_avaliable():
+ if cls.is_neutron_tempest_plugin_available():
from neutron_tempest_plugin.api import clients
neutron_tempest_manager = clients.Manager(manager.credentials)
cls.ntp_client = neutron_tempest_manager.network_client