Supported Python 3.4
This commit is contained in:
@@ -18,6 +18,7 @@ Test class for iRMC Power Driver
|
|||||||
import os
|
import os
|
||||||
import xml.etree.ElementTree as ET
|
import xml.etree.ElementTree as ET
|
||||||
|
|
||||||
|
import fixtures
|
||||||
import httpretty
|
import httpretty
|
||||||
import mock
|
import mock
|
||||||
import requests
|
import requests
|
||||||
@@ -48,9 +49,8 @@ class SCCITestCase(testtools.TestCase):
|
|||||||
#
|
#
|
||||||
# Therefor 'http_proxy' and/or 'https_proxy should be simply removed
|
# Therefor 'http_proxy' and/or 'https_proxy should be simply removed
|
||||||
# without adding anything.
|
# without adding anything.
|
||||||
for key in os.environ.keys():
|
self.useFixture(fixtures.EnvironmentVariable('http_proxy'))
|
||||||
if key.lower() in ('http_proxy', 'https_proxy'):
|
self.useFixture(fixtures.EnvironmentVariable('https_proxy'))
|
||||||
del os.environ[key]
|
|
||||||
|
|
||||||
with open(os.path.join(
|
with open(os.path.join(
|
||||||
os.path.dirname(__file__),
|
os.path.dirname(__file__),
|
||||||
|
@@ -3,15 +3,19 @@
|
|||||||
# process, which may cause wedges in the gate later.
|
# process, which may cause wedges in the gate later.
|
||||||
|
|
||||||
hacking>=0.9.2,<0.10
|
hacking>=0.9.2,<0.10
|
||||||
|
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
discover
|
discover
|
||||||
python-subunit
|
fixtures>=0.3.14
|
||||||
|
mock>=1.0
|
||||||
|
python-subunit>=0.0.18
|
||||||
sphinx>=1.1.2
|
sphinx>=1.1.2
|
||||||
oslosphinx
|
oslosphinx
|
||||||
oslotest>=1.1.0.0a1
|
oslotest>=1.1.0.0a1
|
||||||
testrepository>=0.0.18
|
testrepository>=0.0.18
|
||||||
testscenarios>=0.4
|
testscenarios>=0.4
|
||||||
testtools>=0.9.34
|
testtools>=0.9.36,!=1.2.0
|
||||||
httpretty!=0.8.1,!=0.8.2,!=0.8.3,>=0.8.0
|
# HTTPretty test hanging on Travis
|
||||||
|
# http://stackoverflow.com/questions/29298455/httpretty-test-hanging-on-travis
|
||||||
|
# httpretty 0.8.6 seems ok
|
||||||
|
httpretty!=0.8.1,!=0.8.2,!=0.8.3,!=0.8.7,!=0.8.8,>=0.8.0
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user