diff --git a/test/unit/common/test_db_replicator.py b/test/unit/common/test_db_replicator.py index 9dd40091fa..8c9bd36008 100644 --- a/test/unit/common/test_db_replicator.py +++ b/test/unit/common/test_db_replicator.py @@ -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): diff --git a/tox.ini b/tox.ini index a176682121..9bc05aca20 100644 --- a/tox.ini +++ b/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 \