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