]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Update unit test for Cluster.__repr__()
authorZack Cerza <zack@cerza.org>
Fri, 25 Apr 2014 20:01:41 +0000 (15:01 -0500)
committerZack Cerza <zack@cerza.org>
Fri, 25 Apr 2014 20:01:41 +0000 (15:01 -0500)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/orchestra/test/test_cluster.py

index fad078b10a5d551dc543726db67ac2ccc7349ae1..7596583cc7df6635bfc874e01a314dab924c5d9f 100644 (file)
@@ -40,7 +40,7 @@ class TestCluster(object):
                 (r2, ['baz']),
                 ],
             )
-        assert repr(c) == "Cluster(remotes={Remote(name='r1'): ['foo', 'bar'], Remote(name='r2'): ['baz']})" # noqa
+        assert repr(c) == "Cluster(remotes=[[Remote(name='r1'), ['foo', 'bar']], [Remote(name='r2'), ['baz']]])" # noqa
 
     @fudge.with_fakes
     def test_str(self):