summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspisarski <s.pisarski@cablelabs.com>2017-03-02 15:46:53 -0700
committerspisarski <s.pisarski@cablelabs.com>2017-03-03 07:22:09 -0700
commitbadc81a7ff469e02303a729c7544216258d40239 (patch)
tree8a0e8d941c41e52544016b6416c31c27a719936d
parent4072218a38ec73e58d4e4222814ebcd3809bfd65 (diff)
Removed test class in question from the test builder.
test_suite_builder#add_openstack_integration_tests() which is being used to add SNAPS-OO tests to Functest.snaps_smoke test case. JIRA: SNAPS-39 Change-Id: Ib9d7fea3a132ac29078ce052b5e334c7e5076b61 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
-rw-r--r--snaps/test_suite_builder.py16
1 files changed, 14 insertions, 2 deletions
diff --git a/snaps/test_suite_builder.py b/snaps/test_suite_builder.py
index 6f26db8..b12602d 100644
--- a/snaps/test_suite_builder.py
+++ b/snaps/test_suite_builder.py
@@ -171,8 +171,6 @@ def add_openstack_integration_tests(suite, source_filename, ext_net_name, proxy_
suite.addTest(OSIntegrationTestCase.parameterize(CreateNetworkSuccessTests, source_filename, ext_net_name,
http_proxy_str=proxy_settings, use_keystone=use_keystone,
log_level=log_level))
- suite.addTest(OSComponentTestCase.parameterize(CreateNetworkTypeTests, source_filename, ext_net_name,
- http_proxy_str=proxy_settings, log_level=log_level))
suite.addTest(OSIntegrationTestCase.parameterize(CreateRouterSuccessTests, source_filename, ext_net_name,
http_proxy_str=proxy_settings, use_keystone=use_keystone,
log_level=log_level))
@@ -211,3 +209,17 @@ def add_openstack_integration_tests(suite, source_filename, ext_net_name, proxy_
ext_net_name, http_proxy_str=proxy_settings,
ssh_proxy_cmd=ssh_proxy_cmd, use_keystone=use_keystone,
log_level=log_level))
+
+
+def add_openstack_staging_tests(suite, source_filename, ext_net_name, proxy_settings=None, log_level=logging.INFO):
+ """
+ Adds tests that are still in development have not been designed to run successfully against all OpenStack pods
+ :param suite: the unittest.TestSuite object to which to add the tests
+ :param source_filename: the OpenStack credentials filename
+ :param ext_net_name: the name of an external network on the cloud under test
+ :param proxy_settings: <host>:<port> of the proxy server (optional)
+ :param log_level: the logging level
+ :return: None as the tests will be adding to the 'suite' parameter object
+ """
+ suite.addTest(OSComponentTestCase.parameterize(CreateNetworkTypeTests, source_filename, ext_net_name,
+ http_proxy_str=proxy_settings, log_level=log_level))