tests: use test-requirements.txt for bundletester support

Ensure bundletester uses a virtualenv and can resolve test
dependencies required to execute functional tests.

Change-Id: If2a924ab42547c9a62561112ae2273ba1cfed87e
Close-Bug: 1664128
This commit is contained in:
James Page 2016-11-09 12:54:38 +00:00
parent 4978fe304b
commit 1e6be63e73
2 changed files with 4 additions and 1 deletions

1
tests/test-requirements.txt Symbolic link
View File

@ -0,0 +1 @@
../test-requirements.txt

View File

@ -3,7 +3,7 @@ bootstrap: True
# Re-use bootstrap node.
reset: True
# Use tox/requirements to drive the venv instead of bundletester's venv feature.
virtualenv: False
virtualenv: True
# Leave makefile empty, otherwise unit/lint tests will rerun ahead of amulet.
makefile: []
# Do not specify juju PPA sources. Juju is presumed to be pre-installed
@ -15,3 +15,5 @@ makefile: []
# and tox instead. ie. The venv is constructed before bundletester
# is invoked.
#python-packages:
requirements:
- test-requirements.txt