1
0
mirror of https://github.com/arsenetar/send2trash.git synced 2024-11-12 18:49:03 +00:00
send2trash/tox.ini
Andrew Senetar 6ac20bc4f6
Fix new issues with unit tests
- Create custom test suite based on platform
- Use the custom suite for all tests
- Update tox.ini to install pywin32
2020-06-11 23:20:16 -05:00

23 lines
425 B
INI

[tox]
envlist = py27,py34,py35,py36,py3-win
skip_missing_interpreters = True
[testenv]
platform = linux
commands =
python setup.py test --test-suite tests.TestSuite
[testenv:py3-win]
platform = win
commands =
python pip install pywin32
python setup.py test --test-suite tests.TestSuite
[testenv:py27]
deps =
configparser
[flake8]
exclude = .tox,env,build
max-line-length = 120
ignore = E731,E203,E501,W503