libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [18/26] libcloud git commit: Updated on flake issues
Date Tue, 05 Jan 2016 10:19:36 GMT
Updated on flake issues


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

Branch: refs/heads/trunk
Commit: aa02b63e99945c6bedf1da46af7cc2396683f2ae
Parents: ab2ce8f
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Tue Dec 22 17:52:45 2015 +1100
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Tue Dec 22 17:52:45 2015 +1100

----------------------------------------------------------------------
 libcloud/test/backup/__init__.py           |  1 -
 libcloud/test/backup/test_dimensiondata.py | 10 +++-------
 2 files changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/aa02b63e/libcloud/test/backup/__init__.py
----------------------------------------------------------------------
diff --git a/libcloud/test/backup/__init__.py b/libcloud/test/backup/__init__.py
index b31bcda..007c333 100644
--- a/libcloud/test/backup/__init__.py
+++ b/libcloud/test/backup/__init__.py
@@ -14,7 +14,6 @@
 # limitations under the License.
 
 from libcloud.backup.base import BackupTarget, BackupTargetType
-from libcloud.pricing import get_pricing
 
 
 class TestCaseMixin(object):

http://git-wip-us.apache.org/repos/asf/libcloud/blob/aa02b63e/libcloud/test/backup/test_dimensiondata.py
----------------------------------------------------------------------
diff --git a/libcloud/test/backup/test_dimensiondata.py b/libcloud/test/backup/test_dimensiondata.py
index 0d9e37f..34c3af2 100644
--- a/libcloud/test/backup/test_dimensiondata.py
+++ b/libcloud/test/backup/test_dimensiondata.py
@@ -13,17 +13,11 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-try:
-    from lxml import etree as ET
-except ImportError:
-    from xml.etree import ElementTree as ET
-
 import sys
 import unittest
 from libcloud.utils.py3 import httplib
 
 from libcloud.common.types import InvalidCredsError
-from libcloud.common.dimensiondata import DimensionDataAPIException, NetworkDomainServicePlan
 from libcloud.backup.drivers.dimensiondata import DimensionDataBackupDriver as DimensionData
 
 from libcloud.test import MockHttp
@@ -105,6 +99,7 @@ class DimensionDataTests(unittest.TestCase, TestCaseMixin):
         self.assertEqual(answer[0].name, '12AM - 6AM')
         self.assertEqual(answer[0].description, 'Daily backup will start between 12AM - 6AM')
 
+
 class InvalidRequestError(Exception):
     def __init__(self, tag):
         super(InvalidRequestError, self).__init__("Invalid Request - %s" % tag)
@@ -135,7 +130,8 @@ class DimensionDataMockHttp(MockHttp):
             'oec_0_9_8a8f6abc_2745_4d8a_9cbc_8dabe5a7d0e4_server_e75ead52_692f_4314_8725_c8a4f4d13a87_backup_client_type.xml')
         return (httplib.OK, body, {}, httplib.responses[httplib.OK])
 
-    def _oec_0_9_8a8f6abc_2745_4d8a_9cbc_8dabe5a7d0e4_server_e75ead52_692f_4314_8725_c8a4f4d13a87_backup_client_storagePolicy(self,
method, url, body, headers):
+    def _oec_0_9_8a8f6abc_2745_4d8a_9cbc_8dabe5a7d0e4_server_e75ead52_692f_4314_8725_c8a4f4d13a87_backup_client_storagePolicy(
+            self, method, url, body, headers):
         body = self.fixtures.load(
             'oec_0_9_8a8f6abc_2745_4d8a_9cbc_8dabe5a7d0e4_server_e75ead52_692f_4314_8725_c8a4f4d13a87_backup_client_storagePolicy.xml')
         return (httplib.OK, body, {}, httplib.responses[httplib.OK])


Mime
View raw message