Merge "Add python3 functional gate"
This commit is contained in:
commit
d4e639e2a0
|
@ -17,5 +17,7 @@
|
||||||
vars:
|
vars:
|
||||||
devstack_plugins:
|
devstack_plugins:
|
||||||
rally-openstack: https://opendev.org/openstack/rally-openstack
|
rally-openstack: https://opendev.org/openstack/rally-openstack
|
||||||
|
devstack_localrc:
|
||||||
|
USE_PYTHON3: true
|
||||||
rally_tox_env: "functional"
|
rally_tox_env: "functional"
|
||||||
run: tests/ci/playbooks/run-rally-tox.yaml
|
run: tests/ci/playbooks/run-rally-tox.yaml
|
||||||
|
|
|
@ -171,8 +171,9 @@ class EnvTestCase(unittest.TestCase):
|
||||||
plugings = "tests/functional/extra/fake_dir/fake_plugin.py"
|
plugings = "tests/functional/extra/fake_dir/fake_plugin.py"
|
||||||
rally("--plugin-paths %s env check" % plugings)
|
rally("--plugin-paths %s env check" % plugings)
|
||||||
except utils.RallyCliError as e:
|
except utils.RallyCliError as e:
|
||||||
self.assertIn("There is no OSClient plugin 'noneclient'",
|
self.assertIn(
|
||||||
e.output)
|
"Plugin existing@openstack.check_health() method is broken",
|
||||||
|
e.output)
|
||||||
|
|
||||||
def test_check_api_info_fail_3(self):
|
def test_check_api_info_fail_3(self):
|
||||||
rally = utils.Rally()
|
rally = utils.Rally()
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -56,6 +56,7 @@ basepython = python3.5
|
||||||
commands = oslo_debug_helper -t tests {posargs}
|
commands = oslo_debug_helper -t tests {posargs}
|
||||||
|
|
||||||
[testenv:functional]
|
[testenv:functional]
|
||||||
|
basepython = python3
|
||||||
sitepackages = True
|
sitepackages = True
|
||||||
commands =
|
commands =
|
||||||
find . -type f -name "*.pyc" -delete
|
find . -type f -name "*.pyc" -delete
|
||||||
|
|
Loading…
Reference in New Issue