Drop requirement on octavia-lib
octavia-lib is only required to get a constant which actually should be
in the octavia-tempest-plugin codebase like other protocols are.
Change-Id: I269da85a9a7adabce340aa436d9457b12dee6e36
diff --git a/octavia_tempest_plugin/common/constants.py b/octavia_tempest_plugin/common/constants.py
index 0122424..5503b7f 100644
--- a/octavia_tempest_plugin/common/constants.py
+++ b/octavia_tempest_plugin/common/constants.py
@@ -101,6 +101,7 @@
HTTP = 'HTTP'
HTTPS = 'HTTPS'
TCP = 'TCP'
+TERMINATED_HTTPS = 'TERMINATED_HTTPS'
# HTTP Methods
GET = 'GET'
diff --git a/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py b/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py
index 27663b2..25f741a 100644
--- a/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py
+++ b/octavia_tempest_plugin/tests/barbican_scenario/v2/test_tls_barbican.py
@@ -25,8 +25,6 @@
from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
-from octavia_lib.common import constants as lib_consts
-
from octavia_tempest_plugin.common import barbican_client_mgr
from octavia_tempest_plugin.common import cert_utils
from octavia_tempest_plugin.common import constants as const
@@ -222,7 +220,7 @@
listener_name = data_utils.rand_name("lb_member_listener1-tls")
listener_kwargs = {
const.NAME: listener_name,
- const.PROTOCOL: lib_consts.PROTOCOL_TERMINATED_HTTPS,
+ const.PROTOCOL: const.TERMINATED_HTTPS,
const.PROTOCOL_PORT: '443',
const.LOADBALANCER_ID: self.lb_id,
const.DEFAULT_POOL_ID: self.pool_id,