diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-15 14:15:45 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-07-15 14:41:20 +0200 |
commit | e1dc928517e4c852b25cbb8f7455e49d7ce3ede7 (patch) | |
tree | 2d612ef19c8ad0edec5e3f2f7f6ea50ea0b553aa /functest/opnfv_tests/openstack/trunk/trunk.py | |
parent | 5849f3841ca4a15f2440c0725e686e0d94e88f57 (diff) |
Dynamically skip neutron_trunk and barbican
It avoids fasly testcases in failure for end users.
It also removes the neutron_trunk class which is now useless (Queens).
Change-Id: I3f5a1ac84a50e061da6eadcc5c9bafb2e99050db
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/trunk/trunk.py')
-rw-r--r-- | functest/opnfv_tests/openstack/trunk/trunk.py | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/functest/opnfv_tests/openstack/trunk/trunk.py b/functest/opnfv_tests/openstack/trunk/trunk.py deleted file mode 100644 index 8d177675b..000000000 --- a/functest/opnfv_tests/openstack/trunk/trunk.py +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python - -# Copyright (c) 2018 Orange and others. -# -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# http://www.apache.org/licenses/LICENSE-2.0 - -# pylint: disable=missing-docstring - -from six.moves import configparser - -from functest.opnfv_tests.openstack.tempest import tempest - - -class TempestNeutronTrunk(tempest.TempestCommon): - """Tempest neutron trunk testcase implementation.""" - - def configure(self, **kwargs): - super(TempestNeutronTrunk, self).configure(**kwargs) - rconfig = configparser.RawConfigParser() - rconfig.read(self.conf_file) - rconfig.set('network-feature-enabled', 'api_extensions', 'all') - with open(self.conf_file, 'wb') as config_file: - rconfig.write(config_file) - self.backup_tempest_config(self.conf_file, self.res_dir) |