<commit_before>[tox]
envlist = py27,py27dj17,py27dj18,pep8,py34
minversion = 1.6
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
         NOSE_WITH_OPENSTACK=1
         NOSE_OPENSTACK_COLOR=1
         NOSE_OPENSTACK_RED=0.05
         NOSE_OPENSTACK_YELLOW=0.025
         NOSE_OPENSTACK_SHOW_ELAPSED=1
# Note the hash seed is set to 0 until horizon can be tested with a
# random hash seed successfully.
         PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
commands = /bin/bash run_tests.sh -N --no-pep8 {posargs}

[testenv:py34]
commands =
    python manage.py test --settings=horizon.test.settings horizon.test.tests
    python manage.py test --settings=openstack_dashboard.test.settings \
        openstack_dashboard.dashboards.admin.metering \
        openstack_dashboard.contrib.sahara.content.data_processing.data_sources.tests \
        openstack_dashboard.contrib.sahara.content.data_processing.job_binaries.tests \<commit_msg>tox: add /bin/bash to whitelist_externals<commit_after>[tox]
envlist = py27,py27dj17,py27dj18,pep8,py34
minversion = 1.6
skipsdist = True

[testenv]
usedevelop = True
install_command = pip install -U {opts} {packages}
setenv = VIRTUAL_ENV={envdir}
         NOSE_WITH_OPENSTACK=1
         NOSE_OPENSTACK_COLOR=1
         NOSE_OPENSTACK_RED=0.05
         NOSE_OPENSTACK_YELLOW=0.025
         NOSE_OPENSTACK_SHOW_ELAPSED=1
# Note the hash seed is set to 0 until horizon can be tested with a
# random hash seed successfully.
         PYTHONHASHSEED=0
deps = -r{toxinidir}/requirements.txt
       -r{toxinidir}/test-requirements.txt
whitelist_externals = /bin/bash
commands = /bin/bash run_tests.sh -N --no-pep8 {posargs}

[testenv:py34]
commands =
    python manage.py test --settings=horizon.test.settings horizon.test.tests
    python manage.py test --settings=openstack_dashboard.test.settings \
        openstack_dashboard.dashboards.admin.metering \
        openstack_dashboard.contrib.sahara.content.data_processing.data_sources.tests \
        openstack_dashboard.contrib.sahara.content.data_processing.job_binaries.tests \
{'fraction_non_alphanumeric': 0.09032846715328467, 'fraction_numerical': 0.02737226277372263, 'mean_word_length': 3.7467532467532467, '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': '3410956', 'n_tokens_mistral': 807, 'n_tokens_neox': 761, 'n_words': 138}