<commit_before>[tox]
# TODO: Reinstate pypy once gevent segfault is resolved.
envlist = py27

[testenv]
deps =
    nose
    enum34
    hypothesis
    mock>=1.3.0
    coverage>=4.0.2
    unittest2
    diff_cover
# Each of our components uses a different scheme of
# thread monkey-patching so run each separately.  We'd like to
# use "nosetests --with-coverage" but there's no way to pass
# the "--concurrency" argument to coverage so we do that with
# the tox-cover.sh wrapper script.
commands =
    ./tox-cover.sh thread calico.test
    ./tox-cover.sh gevent calico.felix
    ./tox-cover.sh thread calico.etcddriver
    coverage report -m

[testenv:pypy]
# In pypy, we can only collect coverage for non-greenlet
# components so don't collect for Felix.
commands =
    ./tox-cover.sh thread calico.test
    nosetests calico.felix
    ./tox-cover.sh thread calico.etcddriver
    coverage report -m
deps =
    nose
    enum34
    hypothesis
    mock>=1.3.0
    coverage>=4.0.2
    unittest2
    gevent>=1.1b6<commit_msg>specified coverage >=4.02,<4.1 to work around #1057<commit_after>[tox]
# TODO: Reinstate pypy once gevent segfault is resolved.
envlist = py27

[testenv]
deps =
    nose
    enum34
    hypothesis
    mock>=1.3.0
    coverage>=4.0.2,<4.1
    unittest2
    diff_cover
# Each of our components uses a different scheme of
# thread monkey-patching so run each separately.  We'd like to
# use "nosetests --with-coverage" but there's no way to pass
# the "--concurrency" argument to coverage so we do that with
# the tox-cover.sh wrapper script.
commands =
    ./tox-cover.sh thread calico.test
    ./tox-cover.sh gevent calico.felix
    ./tox-cover.sh thread calico.etcddriver
    coverage report -m

[testenv:pypy]
# In pypy, we can only collect coverage for non-greenlet
# components so don't collect for Felix.
commands =
    ./tox-cover.sh thread calico.test
    nosetests calico.felix
    ./tox-cover.sh thread calico.etcddriver
    coverage report -m
deps =
    nose
    enum34
    hypothesis
    mock>=1.3.0
    coverage>=4.0.2,<4.1
    unittest2
    gevent>=1.1b6
{'fraction_non_alphanumeric': 0.09462055715658022, 'fraction_numerical': 0.028338136407300672, 'mean_word_length': 2.8789571694599627, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 14, 'https://': 0, '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': '7328770', 'n_tokens_mistral': 739, 'n_tokens_neox': 718, 'n_words': 225}