From 575538b55b1fccc0fb697ad99cab78c92f6c06b7 Mon Sep 17 00:00:00 2001 From: Pete Zaitcev Date: Tue, 22 May 2018 16:17:12 -0500 Subject: py3: port the container This started with ShardRanges and its CLI. The sharder is at the bottom of the dependency chain. Even container backend needs it. Once we started tinkering with the sharder, it all snowballed to include the rest of the container services. Beware, this does affect some of Python 2 code. Mostly it's trivial and obviously correct, but needs checking by reviewers. About killing the stray "from __future__ import unicode_literals": we do not do it in general. The specific problem it caused was a failure of functional tests because unicode leaked into a field that was supposed to be encoded. It is just too hard to track the types when rules change from file to file, so off with its head. Change-Id: Iba4e65d0e46d8c1f5a91feb96c2c07f99ca7c666 --- tox.ini | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 6c6defa38..8eba7ef44 100644 --- a/tox.ini +++ b/tox.ini @@ -35,14 +35,7 @@ setenv = VIRTUAL_ENV={envdir} commands = nosetests {posargs:\ test/unit/account \ - test/unit/cli/test_dispersion_report.py \ - test/unit/cli/test_form_signature.py \ - test/unit/cli/test_info.py \ - test/unit/cli/test_recon.py \ - test/unit/cli/test_relinker.py \ - test/unit/cli/test_ring_builder_analyzer.py \ - test/unit/cli/test_ringbuilder.py \ - test/unit/cli/test_ringcomposer.py \ + test/unit/cli \ test/unit/common/middleware/crypto \ test/unit/common/middleware/test_account_quotas.py \ test/unit/common/middleware/test_acl.py \ @@ -83,9 +76,7 @@ commands = test/unit/common/test_swob.py \ test/unit/common/test_utils.py \ test/unit/common/test_wsgi.py \ - test/unit/container/test_auditor.py \ - test/unit/container/test_replicator.py \ - test/unit/container/test_sync_store.py \ + test/unit/container \ test/unit/obj/test_replicator.py \ test/unit/obj/test_server.py \ test/unit/proxy/controllers/test_base.py \ -- cgit v1.2.1