Skip to content

Commit

Permalink
remove --test-directory from tox
Browse files Browse the repository at this point in the history
This is due to the bug [1] that indicates that overlays can only be used if
they are placed in ./tests/overlays subdirectory.

---
[1]: openstack-charmers/zaza#475
  • Loading branch information
rgildein committed Jan 24, 2022
1 parent 699eb19 commit 9e806ec
Show file tree
Hide file tree
Showing 8 changed files with 4 additions and 2 deletions.
Empty file removed tests/functional/requirements.txt
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,15 @@ commands =

[testenv:func]
basepython = python3
changedir = {toxinidir}/tests/functional
commands =
functest-run-suite --test-directory {toxinidir}/tests/functional {posargs}
functest-run-suite {posargs}

[testenv:func-target]
basepython = python3
changedir = {toxinidir}/tests/functional
commands =
functest-run-suite --test-directory {toxinidir}/tests/functional --bundle {posargs}
functest-run-suite --bundle {posargs}


# tools configuration
Expand Down

0 comments on commit 9e806ec

Please sign in to comment.