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:
parent
4218ef46bf
commit
c8135cebbf
@ -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
|
||||
|
@ -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
|
||||
|
@ -1 +1,4 @@
|
||||
mock >= 2.0 # BSD
|
||||
testscenarios>=0.4
|
||||
testtools>=2.2.0
|
||||
tempest>=17.1.0
|
||||
|
6
tox.ini
6
tox.ini
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user