You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2017/09/24 14:33:11 UTC

[05/10] libcloud git commit: fix flake8 linting

fix flake8 linting


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

Branch: refs/heads/trunk
Commit: 85de9c1967dc8b98939265f8f92440f08f4910eb
Parents: 32178ac
Author: nurfet-becirevic <nu...@stackpointcloud.com>
Authored: Tue Sep 5 13:35:11 2017 +0200
Committer: nurfet-becirevic <nu...@stackpointcloud.com>
Committed: Tue Sep 5 13:35:11 2017 +0200

----------------------------------------------------------------------
 libcloud/compute/drivers/profitbricks.py   | 1 -
 libcloud/test/compute/test_profitbricks.py | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/85de9c19/libcloud/compute/drivers/profitbricks.py
----------------------------------------------------------------------
diff --git a/libcloud/compute/drivers/profitbricks.py b/libcloud/compute/drivers/profitbricks.py
index f2d44cb..b310f09 100644
--- a/libcloud/compute/drivers/profitbricks.py
+++ b/libcloud/compute/drivers/profitbricks.py
@@ -26,7 +26,6 @@ from libcloud.compute.providers import Provider
 from libcloud.common.base import ConnectionUserAndKey, JsonResponse
 from libcloud.compute.base import Node, NodeDriver, NodeLocation, NodeSize
 from libcloud.compute.base import NodeImage, StorageVolume, VolumeSnapshot
-from libcloud.compute.base import NodeAuthPassword, NodeAuthSSHKey
 from libcloud.compute.base import UuidMixin
 from libcloud.compute.types import NodeState
 from libcloud.common.types import LibcloudError, MalformedResponseError

http://git-wip-us.apache.org/repos/asf/libcloud/blob/85de9c19/libcloud/test/compute/test_profitbricks.py
----------------------------------------------------------------------
diff --git a/libcloud/test/compute/test_profitbricks.py b/libcloud/test/compute/test_profitbricks.py
index da79b26..0ece89d 100644
--- a/libcloud/test/compute/test_profitbricks.py
+++ b/libcloud/test/compute/test_profitbricks.py
@@ -1194,7 +1194,6 @@ class ProfitBricksTests(unittest.TestCase):
             )
         self.assertIn('Resource does not exist', cm.exception.message.value)
 
-
     def _verify_node(self, node):
         extra = node.extra
 
@@ -3008,7 +3007,7 @@ class ProfitBricksTests(unittest.TestCase):
             22
         )
 
-    def test_ex_create_network_interface_failure(self):
+    def test_ex_create_firewall_rule_failure(self):
         with self.assertRaises(AttributeError):
             'Raises attribute error if no network interface'
             self.driver.ex_create_firewall_rule(