Use oslotest.base.BaseTestCase as test base class
Switch to BaseTestCase as base class for all Manila test classes. This BaseTestCase class automatically uses the following fixtures: * fixtures.FakeLogger (only if needed) * fixtures.NestedTempfile * fixtures.TempHomeDir so we don't have to explicit add them to our constructor. Change-Id: I336d024f7008f5300e1882fa960a8e32439a9a70
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
|
||||
OS_LOG_CAPTURE=${OS_LOG_CAPTURE:-1} \
|
||||
${PYTHON:-python} -m subunit.run discover -t ./ ./manila/tests $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
||||
|
||||
Reference in New Issue
Block a user