diff --git a/test/unit/container/test_sync_store.py b/test/unit/container/test_sync_store.py index d38d4bc3e5..20f0268b5d 100644 --- a/test/unit/container/test_sync_store.py +++ b/test/unit/container/test_sync_store.py @@ -145,7 +145,7 @@ class TestContainerSyncStore(unittest.TestCase): # 133791/625/82...25/82...25.db def _db_path_suffix(self): def random_hexa_string(length): - '%0xlength' % random.randrange(16 ** length) + '%0x' % random.randrange(16 ** length) db = random_hexa_string(32) return '%s/%s/%s/%s.db' % (random_hexa_string(5),