Add python packages for SNI support in tests

This adds python packages required for SNI support to ensure that tox
installs the packages into the venv when running tests.

Change-Id: I5277e8f7b172a2ab847e368d8780e9992b5b6a88
This commit is contained in:
Jesse Pretorius 2016-08-05 13:22:17 +01:00 committed by Jesse Pretorius (odyssey4me)
parent 5d47675044
commit e79d8b20cb
2 changed files with 4 additions and 14 deletions

View File

@ -3,17 +3,13 @@
# process, which may cause wedges in the gate later.
bashate>=0.2 # Apache-2.0
flake8<2.6.0,>=2.5.4 # MIT
pyasn1 # BSD
pyOpenSSL>=0.14 # Apache-2.0
requests>=2.10.0 # Apache-2.0
ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD
# this is required for the docs build jobs
sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0
doc8 # Apache-2.0
reno>=1.8.0 # Apache2
# NOTE(mhayden): CentOS 7 has Python 2.7.5, which has no SNI support built in.
# Two of the required Python modules for SNI support are here
# and the remaining one (ndg-httpsclient) is in the tox.ini
# since this module isn't found within the global requirements
# list.
pyasn1 # BSD
pyOpenSSL>=0.14 # Apache-2.0

View File

@ -105,12 +105,6 @@ deps =
{[testenv]deps}
ansible==1.9.4
ansible-lint>=2.7.0,<3.0.0
# NOTE(mhayden): CentOS 7 has Python 2.7.5, which has no SNI support built
# in. Two modules exist in global requirements, and they are
# in test-requirements.txt. This one isn't found in the
# global requirements list, so it needs to be manually added
# here.
ndg-httpsclient
setenv =
{[testenv]setenv}
ANSIBLE_HOST_KEY_CHECKING = False