Split framework dependencies from test dependencies.

Let separate test cases (tobiko.tests package) from framework
(the rest of tobiko).

- Move test case dependencies to test-requirements.txt file.
- Keep only requirements.txt as framework requirements file.
- Add python-networkclient dependency to tobiko framework
- update tox.ini to use it for checking code before committing it

Change-Id: I0bc433153e00a1c83dbf691bfe058a1ccb1a49dd
This commit is contained in:
Federico Ressi 2018-11-22 12:58:08 +01:00
parent 4218ef46bf
commit c8135cebbf
4 changed files with 6 additions and 9 deletions

View File

@ -2,6 +2,4 @@ keystoneauth1>=2.0.0
oslo.config>=5.2.0
oslo.log>=3.36.0
python-heatclient>=1.5.0
testscenarios>=0.4
testtools>=2.2.0
tempest>=17.1.0
python-neutronclient>=6.7.0

View File

@ -25,8 +25,6 @@ packages =
tobiko
[entry_points]
tempest.test_plugins =
tobiko = tobiko.plugin:TobikoTempestPlugin
console_scripts =
tobiko-create = tobiko.cmd.create:main
tobiko-delete = tobiko.cmd.delete:main

View File

@ -1 +1,4 @@
mock >= 2.0 # BSD
testscenarios>=0.4
testtools>=2.2.0
tempest>=17.1.0

View File

@ -4,7 +4,7 @@ envlist = pep8,py35,py27
[testenv]
# usedevelop = True
usedevelop = True
install_command =
pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt} {opts} {packages}
@ -16,8 +16,6 @@ setenv =
OS_STDOUT_CAPTURE={env:OS_STDOUT_CAPTURE:true}
OS_STDERR_CAPTURE={env:OS_STDERR_CAPTURE:true}
passenv =
commands =
stestr run {posargs}
@ -31,7 +29,7 @@ basepython = python3
deps =
commands =
{posargs}
/bin/bash {posargs}
[testenv:pep8]