Serializers Conversion extension for Fuel Nailgun
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 1007B

1234567891011121314151617181920212223242526272829303132333435363738
  1. [tox]
  2. minversion = 2.0
  3. envlist = pep8,py27
  4. skipsdist = True
  5. [base]
  6. NAILGUN_REPO = git+https://github.com/openstack/fuel-web.git
  7. NAILGUN_CONFIG = {toxinidir}/nailgun-test-settings.yaml
  8. NAILGUN_BRANCH={env:ZUUL_BRANCH:master}
  9. [testenv]
  10. deps = -r{toxinidir}/test-requirements.txt
  11. setenv = VIRTUAL_ENV={envdir}
  12. [testenv:py27]
  13. usedevelop = True
  14. deps = {[testenv]deps}
  15. -r{toxinidir}/requirements.txt
  16. -e{[base]NAILGUN_REPO}@{[base]NAILGUN_BRANCH}#egg=nailgun[test]&subdirectory=nailgun
  17. setenv = {[testenv]setenv}
  18. NAILGUN_CONFIG={[base]NAILGUN_CONFIG}
  19. commands = py.test -v --junit-xml {toxinidir}/extension.xml {posargs}
  20. [testenv:pep8]
  21. commands = flake8 {posargs}
  22. [testenv:venv]
  23. commands = {posargs}
  24. [flake8]
  25. # E123, E125 skipped as they are invalid PEP-8.
  26. # H101 - Don't force author's name on TODOs
  27. # H304 is "No relative imports" error, required for extensions
  28. show-source = True
  29. ignore = E123,E125,H101,H304
  30. builtins = _
  31. exclude = .venv,.git,.tox,dist,doc,*lib/python*,*egg,build