py3: Enable more tests to Python 3.4

tox.ini: add more tests which pass on Python 3.4.

Remove also the duplicated "deps" option: the value is [testenv] is
the same.

Partially-Implements: blueprint barbican-py3
Change-Id: I7199bed61c0f57df183f518f3df1e48a1b4b0bd9
This commit is contained in:
Victor Stinner 2015-10-02 14:35:00 +02:00
parent 7dc704e132
commit c7bad97b80

37
tox.ini
View File

@ -23,15 +23,40 @@ commands =
diff-cover --fail-under 100 coverage.xml
[testenv:py34]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands =
/usr/bin/find . -type f -name "*.pyc" -delete
python -m testtools.run \
barbican.tests.common.test_utils \
barbican.tests.common.test_hrefs \
barbican.tests.common.test_quota
barbican.tests.api.controllers.test_versions \
barbican.tests.api.middleware.test_context \
barbican.tests.api.middleware.test_simple \
barbican.tests.cmd.test_cmd \
barbican.tests.common.test_hrefs \
barbican.tests.common.test_quota \
barbican.tests.common.test_utils \
barbican.tests.model.repositories.test_repositories \
barbican.tests.model.repositories.test_repositories_acls \
barbican.tests.model.repositories.test_repositories_certificate_authorities \
barbican.tests.model.repositories.test_repositories_consumers \
barbican.tests.model.repositories.test_repositories_containers \
barbican.tests.model.repositories.test_repositories_order_retry_tasks \
barbican.tests.model.repositories.test_repositories_orders \
barbican.tests.model.repositories.test_repositories_projects \
barbican.tests.model.repositories.test_repositories_quotas \
barbican.tests.model.repositories.test_repositories_secrets \
barbican.tests.model.repositories.test_repositories_transport_keys \
barbican.tests.model.test_models \
barbican.tests.plugin.crypto.test_manager \
barbican.tests.plugin.interface.test_secret_store \
barbican.tests.plugin.test_simple_certificate_manager \
barbican.tests.plugin.util.test_mime_types \
barbican.tests.plugin.util.test_utils \
barbican.tests.queue.test_client \
barbican.tests.queue.test_keystone_listener \
barbican.tests.queue.test_retry_scheduler \
barbican.tests.queue.test_server \
barbican.tests.tasks.test_certificate_resources \
barbican.tests.tasks.test_common \
barbican.tests.tasks.test_resources
[testenv:pep8]
sitepackages = False