Fuel CCP - Tests sub-project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tox.ini 886B

12345678910111213141516171819202122232425262728293031323334
  1. # Tox (http://tox.testrun.org/) is a tool for running tests
  2. # in multiple virtualenvs. This configuration file will run the
  3. # test suite on all supported python versions. To use it, "pip install tox"
  4. # and then run "tox" from this directory.
  5. [tox]
  6. skipsdist = True
  7. envlist = py35,py34,py27,pypy,pep8
  8. [testenv]
  9. install_command = pip install --allow-external -U {opts} {packages}
  10. deps =
  11. setuptools
  12. -r{toxinidir}/fuel_ccp_tests/requirements.txt
  13. -r{toxinidir}/test-requirements.txt
  14. usedevelop = False
  15. commands = py.test -s -vvv fuel_ccp_tests/tests/unit
  16. [testenv:venv]
  17. commands = {posargs}
  18. [testenv:pep8]
  19. deps = flake8
  20. usedevelop = False
  21. exclude = .venv,.git,.tox,.chache,.lib,dist,doc,*egg,build,local*
  22. commands =
  23. flake8 {posargs:.}
  24. [flake8]
  25. ignore = H302,H802
  26. exclude = .venv,.git,.tox,dist,doc,*egg,build,local,./lib
  27. show-pep8 = True
  28. show-source = True
  29. count = True