Ivan Kolodyazhny 896f044d19 Introduce functional tests for python-brick-cinderclient-ext
This patch adds new tox environment to run functional tests:
    $ tox -e functional

It also adds 'post_test_hook.sh' script to run functional tests on
gates.

All unit tests moved to 'unit' directory.

Change-Id: Iac2f4c6d9d77e96d2478aa00632aad33fa6a22d8
2016-03-14 17:36:33 +02:00

10 lines
400 B
Plaintext

[DEFAULT]
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover \
-t ./ ${OS_TEST_PATH:-./brick_cinderclient_ext/tests/unit} \
$LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list