<commit_before># Tox (http://tox.testrun.org/) is a tool for running tests in
# multiple virtualenvs. To use it, "pip install tox" and then run
# "tox" from this directory.

[tox]
# acme and letsencrypt are not yet on pypi, so when Tox invokes
# "install *.zip", it will not find deps
skipsdist = true
envlist = py26,py27,py33,py34,cover,lint

[testenv]
commands =
    pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt
    # -q does not suppress errors
    python setup.py test -q
    python setup.py test -q -s acme
    python setup.py test -q -s letsencrypt_apache
    python setup.py test -q -s letsencrypt_nginx
    python setup.py test -q -s letshelp_letsencrypt

setenv =
    PYTHONPATH = {toxinidir}
    PYTHONHASHSEED = 0
# https://testrun.org/tox/latest/example/basic.html#special-handling-of-pythonhas

[testenv:py33]
commands =
    pip install -e acme[testing]
    nosetests acme

[testenv:py34]
commands =
    pip install -e acme[testing]
    nosetests acme

[testenv:cover]<commit_msg>Don't run tox for temporarily-disabled python versions<commit_after># Tox (http://tox.testrun.org/) is a tool for running tests in
# multiple virtualenvs. To use it, "pip install tox" and then run
# "tox" from this directory.

[tox]
# acme and letsencrypt are not yet on pypi, so when Tox invokes
# "install *.zip", it will not find deps
skipsdist = true
envlist = py27,cover,lint

[testenv]
commands =
    pip install -r requirements.txt -e acme -e .[testing] -e letsencrypt-apache -e letsencrypt-nginx -e letshelp-letsencrypt
    # -q does not suppress errors
    python setup.py test -q
    python setup.py test -q -s acme
    python setup.py test -q -s letsencrypt_apache
    python setup.py test -q -s letsencrypt_nginx
    python setup.py test -q -s letshelp_letsencrypt

setenv =
    PYTHONPATH = {toxinidir}
    PYTHONHASHSEED = 0
# https://testrun.org/tox/latest/example/basic.html#special-handling-of-pythonhas

[testenv:py33]
commands =
    pip install -e acme[testing]
    nosetests acme

[testenv:py34]
commands =
    pip install -e acme[testing]
    nosetests acme

[testenv:cover]
{'fraction_non_alphanumeric': 0.09750462107208872, 'fraction_numerical': 0.009242144177449169, 'mean_word_length': 3.454732510288066, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2661788', 'n_tokens_mistral': 789, 'n_tokens_neox': 751, 'n_words': 247}