From 1a4df292b1b665c780f17750076efd21b1c5d74b Mon Sep 17 00:00:00 2001 From: Pino de Candia Date: Sat, 9 Dec 2017 00:08:32 +0000 Subject: [PATCH] Fixed requirements.txt for tox. --- requirements.txt | 4 ++++ test-requirements.txt | 5 ++++- tox.ini | 9 ++++++--- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index bc03c0e..f548eac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,6 +2,10 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. +sshpubkeys>=2.2.0 +pycrypto>=2.6.1 +falcon>=1.3.0 +sqlalchemy>=1.1.14 castellan>=0.16.0 requests>=2.18.2 # Apache-2.0 python-keystoneclient!=1.8.0,!=2.1.0,>=1.7.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index aaeae0e..26d4693 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,7 +5,10 @@ # Install bounded pep8/pyflakes first, then let flake8 install hacking<0.11,>=0.10.0 +sshpubkeys>=2.2.0 +pytest>=3.3.1 +pycrypto>=2.6.1 coverage>=3.6 # Apache-2.0 mock>=2.0 # BSD os-testr>=0.7.0 # Apache-2.0 -bandit>=1.0.1 # Apache-2.0 \ No newline at end of file +bandit>=1.0.1 # Apache-2.0 diff --git a/tox.ini b/tox.ini index a16642e..2bf9b4a 100644 --- a/tox.ini +++ b/tox.ini @@ -9,10 +9,13 @@ usedevelop = True install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages} deps = -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt +whitelist_externals = + /usr/bin/find + /bin/rm commands = find . -type f -name "*.pyc" -delete rm -rf .testrepository/times.dbm - ostestr {posargs} + ostestr {posargs} tatu/tests [testenv:pep8] commands = @@ -30,7 +33,7 @@ commands = {posargs} [testenv:cover] commands = - python setup.py testr --coverage --testr-args='{posargs}' + python setup.py testr --coverage coverage report [testenv:bandit] @@ -51,4 +54,4 @@ deps = {[testenv]deps} pylint commands = - pylint --rcfile=pylintrc --output-format=colorized + pylint --rcfile=pylintrc --output-format=colorized tatu