Files
@ 407076b32362
Branch filter:
Location: gimmecert/tox.ini - annotation
407076b32362
833 B
text/x-ini
GC-15: Prevent server command from overwriting artifacts and clean-up incorrect CLI tests:
- Added functional test for scenario where a server certificate has
already been issued.
- Updated server certificate issuance command not to overwrite the
artifacts.
- Fixed a couple of both server and init tests related to CLI parsing
to not create artifacts unless necessary, and if necessary to create
artifacts in temporary (test) directory. Otherwise intermittent
failures will happen.
- Added functional test for scenario where a server certificate has
already been issued.
- Updated server certificate issuance command not to overwrite the
artifacts.
- Fixed a couple of both server and init tests related to CLI parsing
to not create artifacts unless necessary, and if necessary to create
artifacts in temporary (test) directory. Otherwise intermittent
failures will happen.
b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 8655320fec11 8655320fec11 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 8655320fec11 8655320fec11 8655320fec11 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 b72c9a4a1a02 8655320fec11 8655320fec11 8655320fec11 8655320fec11 b72c9a4a1a02 8655320fec11 8655320fec11 8655320fec11 8655320fec11 | [tox]
envlist = {py34,py35,py36},lint,doc
[testenv]
whitelist_externals =
make
basepython =
doc: python3
lint: python3
py34: python3.4
py35: python3.5
py36: python3.6
deps =
.[test]
commands =
# Must specify cov-report explicitly, otherwise coverage starts
# going through the tests as well.
pytest --cov --cov-report=term-missing:skip-covered --basetemp={envtmpdir} tests/ functional_tests/
[testenv:lint]
deps =
.[testlint]
commands =
flake8
[testenv:doc]
deps =
.[doc]
setenv =
# Override Sphinx build directory so we do not trample over user's
# build in source directory.
BUILDDIR={envtmpdir}/docs_build
commands =
# Easier to run than changing directory with separate comand. -e
# will ensure the BUILDDIR gets picked-up and overrides the Makefile
# content.
make -C docs/ -e html
|