libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anthonys...@apache.org
Subject [29/33] libcloud git commit: Fix linting errors in test and test deps
Date Tue, 05 Apr 2016 11:17:20 GMT
Fix linting errors in test and test deps


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

Branch: refs/heads/requests
Commit: e24c859cb985efb447483ab54de61f7bf3df2693
Parents: 6b9f90c
Author: anthony-shaw <anthony.p.shaw@gmail.com>
Authored: Tue Apr 5 17:49:31 2016 +1000
Committer: anthony-shaw <anthony.p.shaw@gmail.com>
Committed: Tue Apr 5 17:49:31 2016 +1000

----------------------------------------------------------------------
 libcloud/test/__init__.py         | 2 --
 libcloud/test/test_httplib_ssl.py | 2 --
 setup.py                          | 3 +--
 3 files changed, 1 insertion(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/e24c859c/libcloud/test/__init__.py
----------------------------------------------------------------------
diff --git a/libcloud/test/__init__.py b/libcloud/test/__init__.py
index 068de27..169f228 100644
--- a/libcloud/test/__init__.py
+++ b/libcloud/test/__init__.py
@@ -18,11 +18,9 @@ import random
 import requests
 
 from libcloud.utils.py3 import httplib
-from libcloud.utils.py3 import StringIO
 from libcloud.utils.py3 import urlparse
 from libcloud.utils.py3 import parse_qs
 from libcloud.utils.py3 import parse_qsl
-from libcloud.utils.py3 import u
 from libcloud.utils.py3 import unittest2_required
 
 if unittest2_required:

http://git-wip-us.apache.org/repos/asf/libcloud/blob/e24c859c/libcloud/test/test_httplib_ssl.py
----------------------------------------------------------------------
diff --git a/libcloud/test/test_httplib_ssl.py b/libcloud/test/test_httplib_ssl.py
index 9c96df4..a669bb1 100644
--- a/libcloud/test/test_httplib_ssl.py
+++ b/libcloud/test/test_httplib_ssl.py
@@ -16,9 +16,7 @@
 import os
 import sys
 import os.path
-import socket
 
-import mock
 from mock import patch
 
 import libcloud.security

http://git-wip-us.apache.org/repos/asf/libcloud/blob/e24c859c/setup.py
----------------------------------------------------------------------
diff --git a/setup.py b/setup.py
index 351fcb9..dc1589f 100644
--- a/setup.py
+++ b/setup.py
@@ -60,8 +60,7 @@ SUPPORTED_VERSIONS = ['2.5', '2.6', '2.7', 'PyPy', '3.x']
 
 TEST_REQUIREMENTS = [
     'mock',
-    'requests',
-    'requests-mock'
+    'requests'
 ]
 
 if PY2_pre_279 or PY3_pre_32:


Mime
View raw message