Browse Source

Merge "Add python3 functional gate"

tags/1.6.0
Zuul Gerrit Code Review 10 months ago
parent
commit
d4e639e2a0
3 changed files with 6 additions and 2 deletions
  1. +2
    -0
      .zuul.d/rally-tox-functional.yaml
  2. +3
    -2
      tests/functional/test_cli_env.py
  3. +1
    -0
      tox.ini

+ 2
- 0
.zuul.d/rally-tox-functional.yaml View File

@@ -17,5 +17,7 @@
vars:
devstack_plugins:
rally-openstack: https://opendev.org/openstack/rally-openstack
devstack_localrc:
USE_PYTHON3: true
rally_tox_env: "functional"
run: tests/ci/playbooks/run-rally-tox.yaml

+ 3
- 2
tests/functional/test_cli_env.py View File

@@ -171,8 +171,9 @@ class EnvTestCase(unittest.TestCase):
plugings = "tests/functional/extra/fake_dir/fake_plugin.py"
rally("--plugin-paths %s env check" % plugings)
except utils.RallyCliError as e:
self.assertIn("There is no OSClient plugin 'noneclient'",
e.output)
self.assertIn(
"Plugin existing@openstack.check_health() method is broken",
e.output)

def test_check_api_info_fail_3(self):
rally = utils.Rally()


+ 1
- 0
tox.ini View File

@@ -56,6 +56,7 @@ basepython = python3.5
commands = oslo_debug_helper -t tests {posargs}

[testenv:functional]
basepython = python3
sitepackages = True
commands =
find . -type f -name "*.pyc" -delete


Loading…
Cancel
Save