From dc213d9746bc9976c38217d6bfa6ab20654dcd34 Mon Sep 17 00:00:00 2001 From: Michael Barton Date: Fri, 13 May 2011 02:41:37 +0000 Subject: [PATCH] update unit tests --- test/unit/obj/test_replicator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/obj/test_replicator.py b/test/unit/obj/test_replicator.py index 50dac19559..a99941e07e 100644 --- a/test/unit/obj/test_replicator.py +++ b/test/unit/obj/test_replicator.py @@ -179,7 +179,7 @@ class TestObjectReplicator(unittest.TestCase): self.ring.get_part_nodes(int(cur_part)) \ if node['ip'] not in _ips()] for node in nodes: - rsync_mod = '%s::object/sda/objects/%s' % (node['ip'], cur_part) + rsync_mod = '[%s]::object/sda/objects/%s' % (node['ip'], cur_part) process_arg_checker.append( (0, '', ['rsync', whole_path_from, rsync_mod])) with _mock_process(process_arg_checker): @@ -363,7 +363,7 @@ class TestObjectReplicator(unittest.TestCase): self.ring.get_part_nodes(int(cur_part)) \ if node['ip'] not in _ips()] for node in nodes: - rsync_mod = '%s::object/sda/objects/%s' % (node['ip'], cur_part) + rsync_mod = '[%s]::object/sda/objects/%s' % (node['ip'], cur_part) process_arg_checker.append( (0, '', ['rsync', whole_path_from, rsync_mod])) self.assertTrue(os.access(os.path.join(self.objects,