py3: adapt common/db_replicator.py
Another one of those almost-empty patches. This time my excuse is that this one is needed in a couple of places (account & container). Change-Id: Ieb8960763c64f88981b68884bfec92c17ebb4708
This commit is contained in:
parent
6bb8229b75
commit
654187e1fe
@ -1120,7 +1120,7 @@ class TestDBReplicator(unittest.TestCase):
|
||||
mount_check=False)
|
||||
with unit.mock_check_drive(isdir=True):
|
||||
response = rpc.dispatch(('a',), 'arg')
|
||||
self.assertEqual('Invalid object type', response.body)
|
||||
self.assertEqual(b'Invalid object type', response.body)
|
||||
self.assertEqual(400, response.status_int)
|
||||
|
||||
def test_dispatch_drive_not_mounted(self):
|
||||
|
1
tox.ini
1
tox.ini
@ -54,6 +54,7 @@ commands =
|
||||
test/unit/common/test_bufferedhttp.py \
|
||||
test/unit/common/test_constraints.py \
|
||||
test/unit/common/test_db.py \
|
||||
test/unit/common/test_db_replicator.py \
|
||||
test/unit/common/test_daemon.py \
|
||||
test/unit/common/test_direct_client.py \
|
||||
test/unit/common/test_exceptions.py \
|
||||
|
Loading…
Reference in New Issue
Block a user