]> git-server-git.apps.pok.os.sepia.ceph.com Git - radosgw-agent.git/commitdiff
normalize indentation to 4 spaces wip-fixes 6/head
authorAlfredo Deza <alfredo.deza@inktank.com>
Mon, 28 Oct 2013 13:11:08 +0000 (09:11 -0400)
committerAlfredo Deza <alfredo.deza@inktank.com>
Mon, 28 Oct 2013 13:11:08 +0000 (09:11 -0400)
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
radosgw_agent/tests/test_client.py

index f68072eeabb53ae53b9558666a431adf961c140e..30b926aa97014494d4579b0b5937413f0343d4c3 100644 (file)
@@ -254,7 +254,7 @@ def test_configure_endpoints_2nd_region_metaonly_data():
                                   meta_only=False)
 
 def test_configure_endpoints_master_region_master_zone():
-     with py.test.raises(client.InvalidZone):
+    with py.test.raises(client.InvalidZone):
         _test_configure_endpoints('http://vit:8001', 'skinny', 'skinny-1',
                                   'http://vit:8001', 'skinny', 'skinny-1')
 
@@ -275,19 +275,19 @@ def test_configure_endpoints_specified_src_master_region_data():
                                   'http://vit:8001', meta_only=False)
 
 def test_configure_endpoints_bad_src_same_region():
-     with py.test.raises(client.InvalidZone):
+    with py.test.raises(client.InvalidZone):
         _test_configure_endpoints('http://vit:8003', 'swab', 'swab-2',
                                   'http://vit:8004', 'swab', 'swab-3',
                                   'http://vit:8004')
 
 def test_configure_endpoints_bad_src_master_region():
-     with py.test.raises(client.InvalidZone):
+    with py.test.raises(client.InvalidZone):
         _test_configure_endpoints('http://vit:8003', 'swab', 'swab-2',
                                   'http://vit:8002', 'skinny', 'skinny-2',
                                   'http://vit:8002')
 
 def test_configure_endpoints_bad_src_same_zone():
-     with py.test.raises(client.InvalidZone):
+    with py.test.raises(client.InvalidZone):
         _test_configure_endpoints('http://vit:8000', 'swab', 'swab-1',
                                   'http://vit:8000', 'swab', 'swab-1',
                                   'http://vit:8000')
@@ -299,6 +299,6 @@ def test_configure_endpoints_specified_nonexistent_src():
                                   'http://vit:80')
 
 def test_configure_endpoints_unknown_zone():
-     with py.test.raises(client.ZoneNotFound):
+    with py.test.raises(client.ZoneNotFound):
         _test_configure_endpoints('http://vit:8005', 'skinny', 'skinny-1',
                                   'http://vit:8001', 'skinny', 'skinny-1')