forked from lago-project/lago
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox-sdk.ini
30 lines (28 loc) · 883 Bytes
/
tox-sdk.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[tox]
envlist = py27-sdk
# These tests assume that Lago is already installed on the system, thus
# the 'sitepackages=True' configuration. The idea is we install only
# the dependencies for the test in venv(i.e. pytest)
[testenv:py27-sdk]
setenv =
LIBGUESTFS_TRACE = 1
LIBGUESTFS_DEBUG = 1
LIBGUESTFS_MEMSIZE = 2048
passenv=TEST_RESULTS PIP_CACHE_DIR LIBVIRT_DEBUG LIBVIRT_LOG_OUTPUTS
changedir=tests/functional-sdk
deps = http://download.libguestfs.org/python/guestfs-1.36.4.tar.gz
six
pytest
pytest-cov
pytest-timeout
pytest-catchlog
Jinja2
commands = pytest -vvv \
-x \
{posargs} \
--junit-xml=lago-sdk.junit.xml \
--cov lago \
--cov-report html \
--cov-report term \
--cov-report xml
whitelist_externals = lago