<commit_before># Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27, py34

[testenv]
commands = py.test -s tests/ example-client/test_client.py
deps =
    dateutils
    geojson
    pytest
    pytest-pythonpath
    rethinkdb
    six

[testenv:coverage]
basepython = python2.7
commands = py.test tests/ example-client/test_client.py \
    --cov reqon --cov example-client/reqon_client.py \
    --cov-config .coveragerc \
    --cov-report term-missing --pep8
deps =
    pytest-cov
    pytest-pep8
    {[testenv]deps}<commit_msg>Test RethinkDB 2.2 and 2.3 on Python 2.7 and 3.5.<commit_after># Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.

[tox]
envlist = py27_rethinkdb22, py27_rethinkdb23, py35_rethinkdb22, py35_rethinkdb23

[testenv]
commands = py.test tests/ example-client/test_client.py \
    --cov reqon --cov example-client/reqon_client.py \
    --cov-config .coveragerc \
    --cov-report term-missing \
    --cov-append \
    --pep8
deps =
    dateutils
    geojson
    pytest
    pytest-cov
    pytest-pep8
    pytest-pythonpath
    six

[testenv:py27_rethinkdb22]
basepython = python2.7
deps =
    rethinkdb==2.2.0.post6
    {[testenv]deps}

[testenv:py27_rethinkdb23]
basepython = python2.7
deps =
    rethinkdb==2.3.0
    {[testenv]deps}

[testenv:py35_rethinkdb22]
basepython = python3.5
deps =
    rethinkdb==2.2.0.post6
    {[testenv]deps}

[testenv:py35_rethinkdb23]
basepython = python3.5
deps =
    rethinkdb==2.3.0
    {[testenv]deps}
{'fraction_non_alphanumeric': 0.11033369214208827, 'fraction_numerical': 0.038751345532831, 'mean_word_length': 3.1775280898876406, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5535176', 'n_tokens_mistral': 726, 'n_tokens_neox': 693, 'n_words': 174}