
Tweaked tox.ini to invoke snapstack, and added test_snapstack.py to tests dir. Also added nova.sh to nova/tests, as part of the plan to move those scripts from snap-test to the individual snaps. Change-Id: If52e45bbef18a3ad7da993c93eb78f8aea687c5b
23 lines
369 B
INI
23 lines
369 B
INI
[tox]
|
|
envlist = snap
|
|
skipsdist = True
|
|
|
|
[testenv]
|
|
basepython = python3.5
|
|
install_command = pip install {opts} {packages}
|
|
passenv =
|
|
HOME
|
|
TERM
|
|
SNAP_BUILD_PROXY
|
|
whitelist_externals =
|
|
sudo
|
|
snapcraft
|
|
|
|
[testenv:snap]
|
|
deps =
|
|
-r{toxinidir}/requirements.txt
|
|
git+https://github.com/openstack-snaps/snapstack
|
|
pytest
|
|
commands =
|
|
py.test -s tests/
|