keystone/.testr.conf
Brant Knudson 262d0b66c3 Stop using oslotest.BaseTestCase
oslotest.BaseTestCase is going to be deprecated / removed in favor of using
the provided fixtures. oslotest.BaseTestCase does unnatural things with mock
cleanup that can't be fixed in a backwards-compatible way and we don't want
this odd cleanup or deprecation affecting our tests. See [1].

oslotest.BaseTestCase set up some fixtures that keystone didn't use:

 - timeout.Timeout
 - output.CaptureOutput
 - oslotest.log.ConfigureLogging

[1] https://review.openstack.org/#/c/280757/

Change-Id: I5d926fba83f0390fe06e75614d85d87d2cb9f285
2016-03-01 21:44:20 +00:00

17 lines
597 B
Plaintext

[DEFAULT]
test_command=
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./keystone/tests/unit} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list
group_regex=.*(test_cert_setup)
# NOTE(morganfainberg): If single-worker mode is wanted (e.g. for live tests)
# the environment variable ``TEST_RUN_CONCURRENCY`` should be set to ``1``. If
# a non-default (1 worker per available core) concurrency is desired, set
# environment variable ``TEST_RUN_CONCURRENCY`` to the desired number of
# workers.
test_run_concurrency=echo ${TEST_RUN_CONCURRENCY:-0}