Merge "py3: adapt common/db_replicator.py"

This commit is contained in:
Zuul 2018-11-01 10:34:00 +00:00 committed by Gerrit Code Review
commit a13e44b39d
2 changed files with 2 additions and 1 deletions

View File

@ -1121,7 +1121,7 @@ class TestDBReplicator(unittest.TestCase):
mount_check=False) mount_check=False)
with unit.mock_check_drive(isdir=True): with unit.mock_check_drive(isdir=True):
response = rpc.dispatch(('a',), 'arg') 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) self.assertEqual(400, response.status_int)
def test_dispatch_drive_not_mounted(self): def test_dispatch_drive_not_mounted(self):

View File

@ -54,6 +54,7 @@ commands =
test/unit/common/test_bufferedhttp.py \ test/unit/common/test_bufferedhttp.py \
test/unit/common/test_constraints.py \ test/unit/common/test_constraints.py \
test/unit/common/test_db.py \ test/unit/common/test_db.py \
test/unit/common/test_db_replicator.py \
test/unit/common/test_daemon.py \ test/unit/common/test_daemon.py \
test/unit/common/test_direct_client.py \ test/unit/common/test_direct_client.py \
test/unit/common/test_exceptions.py \ test/unit/common/test_exceptions.py \