Browse Source
Allow to execute OpenStack integration tests only
Allow to execute OpenStack integration tests only
using: tests/run-tests.sh tox -e py3 -- -m openstack_integration tests/ Tested with: $ time PYTEST_ADDOPTS='-m "not openstack_integration" --collect-only' tests/run-tests.sh [...] collected 100 items / 23 deselected / 77 selected [...] py3: commands succeeded flake8: commands succeeded docs: commands succeeded congratulations :) real 1m33.293s user 0m0.967s sys 0m0.384skeep-around/2cc48f672e4c79cf237811813e56b2119797ce1c

No known key found for this signature in database
GPG Key ID: 6914C4A5EDAA6DD
9 changed files with 30 additions and 55 deletions
-
2.gitlab-ci.yml
-
2docs/community/contribute.rst
-
3tests/enough/common/conftest.py
-
3tests/enough/common/test_common_service.py
-
4tests/enough/common/test_common_ssh.py
-
33tests/enough/common/test_init.py
-
30tests/enough/common/test_openstack.py
-
7tests/run-tests.sh
-
1tox.ini
@ -1,3 +1,3 @@ |
|||
--- |
|||
jobs: |
|||
script: SKIP_OPENSTACK_INTEGRATION_TESTS=true tests/run-tests.sh |
|||
script: tests/run-tests.sh |
@ -0,0 +1,3 @@ |
|||
def pytest_configure(config): |
|||
config.addinivalue_line("markers", "openstack_integration: mark tests " |
|||
"which require OpenStack credentials") |
Write
Preview
Loading…
Cancel
Save
Reference in new issue