<commit_before>[tox]

envlist = py27,fuzz

[testenv]
setenv = LANG=en_US.UTF-8
         LC_ALL=en_US.UTF-8

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/requirements-dev.txt

commands = py.test -r ws -v test/unit

[testenv:fuzz]
commands = py.test -r ws -v test/fuzz

; `warn_only` wasn't available in older versions of Fabric. Make sure we
; can handle that case gracefully: https://github.com/tshlabs/tunic/issues/4
[testenv:fab-1.4]
deps = fabric==1.4.4
       -r{toxinidir}/requirements-dev.txt

commands = py.test -r ws -v test/unit
<commit_msg>Add Fabric 1.4 to default Tox environment list<commit_after>[tox]

envlist = py27,fab-1.4,fuzz

[testenv]
setenv = LANG=en_US.UTF-8
         LC_ALL=en_US.UTF-8

deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/requirements-dev.txt

commands = py.test -r ws -v test/unit

[testenv:fuzz]
commands = py.test -r ws -v test/fuzz

; `warn_only` wasn't available in older versions of Fabric. Make sure we
; can handle that case gracefully: https://github.com/tshlabs/tunic/issues/4
[testenv:fab-1.4]
deps = fabric==1.4.4
       -r{toxinidir}/requirements-dev.txt

commands = py.test -r ws -v test/unit

{'fraction_non_alphanumeric': 0.13515825491873396, 'fraction_numerical': 0.020530367835757058, 'mean_word_length': 3.3820224719101124, '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': '4747489', 'n_tokens_mistral': 493, 'n_tokens_neox': 471, 'n_words': 107}