diff --git a/test/unit/container/test_reconciler.py b/test/unit/container/test_reconciler.py index 00aba94459..1b41227608 100644 --- a/test/unit/container/test_reconciler.py +++ b/test/unit/container/test_reconciler.py @@ -207,8 +207,8 @@ class TestReconcilerUtils(unittest.TestCase): self.assertEqual(got['account'], 'AUTH_bob') self.assertEqual(got['container'], 'con') self.assertEqual(got['obj'], 'obj') - self.assertEqual(got['q_ts'], 0000001234.20190) - self.assertEqual(got['q_record'], 0000001234.20192) + self.assertEqual(got['q_ts'], 1234.20190) + self.assertEqual(got['q_record'], 1234.20192) self.assertEqual(got['q_op'], 'PUT') # negative test diff --git a/tox.ini b/tox.ini index 249855208d..a98035cd44 100644 --- a/tox.ini +++ b/tox.ini @@ -59,7 +59,6 @@ commands = bandit -c bandit.yaml -r swift bin -n 5 -p gate # F812: list comprehension redefines ... # H101: Use TODO(NAME) # H202: assertRaises Exception too broad -# H232: Python 3.x incompatible octal 000001234 should be written as 0o1234 # H233: Python 3.x incompatible use of print operator # H234: assertEquals is deprecated, use assertEqual # H235: assert_ is deprecated, use assertTrue @@ -72,6 +71,6 @@ commands = bandit -c bandit.yaml -r swift bin -n 5 -p gate # H501: Do not use self.__dict__ for string formatting # H702: Formatting operation should be outside of localization method call # H703: Multiple positional placeholders -ignore = F402,F812,H101,H202,H232,H233,H234,H235,H301,H306,H401,H403,H404,H405,H501,H702,H703 +ignore = F402,F812,H101,H202,H233,H234,H235,H301,H306,H401,H403,H404,H405,H501,H702,H703 exclude = .venv,.tox,dist,doc,*egg show-source = True