Create functional test base
Setup test runners to run unit tests by default and add a stub functional test that we can get gating. Change-Id: I6627925ab63340c880adc7c938a0b74faff47bc7 Implements: bp functional-testing
This commit is contained in:
parent
f82f274f6b
commit
c419425c85
@ -1,4 +1,4 @@
|
||||
[DEFAULT]
|
||||
test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./keystoneclient/tests $LISTOPT $IDOPTION
|
||||
test_command=${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystoneclient/tests/unit} $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
|
@ -17,6 +17,7 @@ oslotest>=1.2.0 # Apache-2.0
|
||||
pycrypto>=2.6
|
||||
requests-mock>=0.5.1 # Apache-2.0
|
||||
sphinx>=1.1.2,!=1.2.0,!=1.3b1,<1.3
|
||||
tempest-lib>=0.2.0
|
||||
testrepository>=0.0.18
|
||||
testresources>=0.2.4
|
||||
testtools>=0.9.36,!=1.2.0
|
||||
|
3
tox.ini
3
tox.ini
@ -30,6 +30,9 @@ downloadcache = ~/cache/pip
|
||||
[testenv:debug]
|
||||
commands = oslo_debug_helper -t keystoneclient/tests {posargs}
|
||||
|
||||
[testenv:functional]
|
||||
setenv = OS_TEST_PATH=./keystoneclient/tests/functional
|
||||
|
||||
[flake8]
|
||||
# H405: multi line docstring summary not separated with an empty line
|
||||
ignore = H405
|
||||
|
Loading…
x
Reference in New Issue
Block a user