Files
PGPy-3_13_patch/tox.ini
Michael Greene 824f2649fb soft unit test update pass:
- first pass super basic integration test separation
- BCPG decryption tests now pass so removed XFAIL marker
- remove unused imports
- added some warning filtering to reduce noise
2019-08-01 15:45:47 -07:00

83 lines
1.7 KiB
INI

[tox]
envlist = pypy, pypy3, py27, py34, py35, py36, py37, pep8, setup37, setup36, setup35, setup34, setup27
skipsdist = True
[pytest]
addopts = -vv -r a -s --color=yes
norecursedirs = testdata
testpaths = tests
markers =
regression: mark test as a regression test.
[flake8]
exclude = .git,.idea,__pycache__,.tox,tests/*,docs/*,test_load_asc_bench.py
ignore = E201,E202,E221,E251,E265,F403,F821,N805
max-line-length = 160
[testenv]
passenv = HOME ARCHFLAGS LDFLAGS CFLAGS INCLUDE LIB LD_LIBRARY_PATH PATH
deps =
cryptography>=2.6
enum34
gpg==1.8.0
pyasn1
six>=1.9.0
singledispatch
pytest
pytest-cov
pytest-ordering
install_command = pip install {opts} --no-cache-dir {packages}
commands =
py.test --cov pgpy --cov-report term-missing tests/
[test-setup]
whitelist_externals = /usr/bin/rm
deps =
commands =
pip install -e .
rm -rf PGPy.egg-info
[testenv:setup37]
recreate = True
basepython = python3.7
whitelist_externals = {[test-setup]whitelist_externals}
deps =
commands = {[test-setup]commands}
[testenv:setup36]
recreate = True
basepython = python3.6
whitelist_externals = {[test-setup]whitelist_externals}
deps =
commands = {[test-setup]commands}
[testenv:setup35]
recreate = True
basepython = python3.5
whitelist_externals = {[test-setup]whitelist_externals}
deps =
commands = {[test-setup]commands}
[testenv:setup34]
recreate = True
basepython = python3.4
whitelist_externals = {[test-setup]whitelist_externals}
deps =
commands = {[test-setup]commands}
[testenv:setup27]
recreate = True
deps = pip
basepython = python2.7
whitelist_externals = {[test-setup]whitelist_externals}
commands = {[test-setup]commands}
[testenv:pep8]
basepython = python3.7
deps =
flake8
pep8-naming
commands =
flake8