Merge "py3: adapt common/db_replicator.py"
This commit is contained in:
commit
a13e44b39d
@ -1121,7 +1121,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