libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vd...@apache.org
Subject [3/4] libcloud git commit: [LIBCLOUD-1014] PEP8
Date Fri, 26 Oct 2018 16:46:48 GMT
[LIBCLOUD-1014] PEP8

Signed-off-by: Rick van de Loo <rickvandeloo@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/60859882
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/60859882
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/60859882

Branch: refs/heads/trunk
Commit: 608598821758cab79ed5e61b370ee0407f03616a
Parents: 7dce67d
Author: elesbom <rafael.goncalves@corp.globo.com>
Authored: Mon Sep 24 15:11:35 2018 -0300
Committer: Rick van de Loo <rickvandeloo@gmail.com>
Committed: Fri Oct 26 18:43:30 2018 +0200

----------------------------------------------------------------------
 libcloud/test/compute/test_ec2.py | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/60859882/libcloud/test/compute/test_ec2.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_ec2.py b/libcloud/test/compute/test_ec2.py
index bc22666..15a7862 100644
--- a/libcloud/test/compute/test_ec2.py
+++ b/libcloud/test/compute/test_ec2.py
@@ -1803,13 +1803,12 @@ class NimbusTests(EC2Tests):
         self.assertExecutedMethodCount(0)
 
     def test_create_volume_snapshot_with_tags(self):
-            vol = StorageVolume(id='vol-4282672b', name='test',
-                                state=StorageVolumeState.AVAILABLE,
-                                size=10, driver=self.driver)
-            snap = self.driver.create_volume_snapshot(
-                vol, 'Test snapshot', ex_metadata={'my_tag': 'test'})
-            self.assertDictEqual({}, snap.extra['tags'])
-
+        vol = StorageVolume(id='vol-4282672b', name='test',
+                            state=StorageVolumeState.AVAILABLE,
+                            size=10, driver=self.driver)
+        snap = self.driver.create_volume_snapshot(
+            vol, 'Test snapshot', ex_metadata={'my_tag': 'test'})
+        self.assertDictEqual({}, snap.extra['tags'])
 
 
 class EucTests(LibcloudTestCase, TestCaseMixin):


Mime
View raw message