Python 3: replace the whitelist with a blacklist
tox.ini: run Python 3 tests using ostestr rather than testtools.run to ensure that all tests can be at least imported on Python 3. Replace also the whitelist of tests with a blacklist to see more easily which tests must be ported. Partially implements: blueprint barbican-py3 Change-Id: Ibf42d57de3a41d2e32d47c0931a91e64104ebe86
This commit is contained in:
parent
4cd609f12b
commit
6cba20e1fe
11
tests-py3-blacklist.txt
Normal file
11
tests-py3-blacklist.txt
Normal file
@ -0,0 +1,11 @@
|
||||
barbican.tests.api.controllers.test_containers
|
||||
barbican.tests.api.controllers.test_orders
|
||||
barbican.tests.api.controllers.test_quotas
|
||||
barbican.tests.api.controllers.test_secrets
|
||||
barbican.tests.api.test_resources
|
||||
barbican.tests.api.test_transport_keys_resource
|
||||
barbican.tests.cmd.test_barbican_manage
|
||||
barbican.tests.cmd.test_db_cleanup
|
||||
barbican.tests.common.test_validators
|
||||
barbican.tests.plugin.crypto.test_pkcs11
|
||||
barbican.tests.plugin.test_snakeoil_ca
|
2
tox.ini
2
tox.ini
@ -28,7 +28,7 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
|
||||
[testenv:py34]
|
||||
commands =
|
||||
/usr/bin/find . -type f -name "*.pyc" -delete
|
||||
python -m testtools.run barbican.tests
|
||||
ostestr --blacklist_file=tests-py3-blacklist.txt
|
||||
|
||||
[testenv:pep8]
|
||||
sitepackages = False
|
||||
|
Loading…
Reference in New Issue
Block a user