libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [7/8] libcloud git commit: use libcloud.test.unittest instead of unittest import directly to fix py2.6 missing unittest.skip method
Date Fri, 13 Jan 2017 00:42:51 GMT
use libcloud.test.unittest instead of unittest import directly to fix py2.6 missing unittest.skip
method


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

Branch: refs/heads/trunk
Commit: 1702f7ad0299e347b61b6c123dfaa910d68e2f21
Parents: dc2a3b9
Author: Anthony Shaw <anthonyshaw@apache.org>
Authored: Fri Jan 13 11:31:02 2017 +1100
Committer: Anthony Shaw <anthonyshaw@apache.org>
Committed: Fri Jan 13 11:31:02 2017 +1100

----------------------------------------------------------------------
 libcloud/test/storage/test_s3.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/1702f7ad/libcloud/test/storage/test_s3.py
----------------------------------------------------------------------
diff --git a/libcloud/test/storage/test_s3.py b/libcloud/test/storage/test_s3.py
index 360ddee..e8691bb 100644
--- a/libcloud/test/storage/test_s3.py
+++ b/libcloud/test/storage/test_s3.py
@@ -17,7 +17,7 @@ import base64
 import hmac
 import os
 import sys
-import unittest
+
 from io import BytesIO
 
 from hashlib import sha1
@@ -50,6 +50,7 @@ from libcloud.utils.py3 import b
 
 from libcloud.test import StorageMockHttp, MockRawResponse, MockResponse  # pylint: disable-msg=E0611
 from libcloud.test import MockHttpTestCase  # pylint: disable-msg=E0611
+from libcloud.test import unittest
 from libcloud.test.file_fixtures import StorageFileFixtures  # pylint: disable-msg=E0611
 from libcloud.test.secrets import STORAGE_S3_PARAMS
 


Mime
View raw message