tests: add delete remote folder helper function
We need to clean out the remote folders before we invoke the test suite. Implement a helper function that does this, and improve the test output (less verbose) and the setup.py --help-commands (more verbose). Document that it is possible to run a single test only. (although it is not guaranteed that a test does not rely on the output of previous tests). Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
5
setup.py
5
setup.py
@ -29,7 +29,10 @@ from test.OLItest import TextTestRunner, TestLoader, OLITestLib
|
||||
|
||||
class TestCommand(Command):
|
||||
"""runs the OLI testsuite"""
|
||||
description = "Runs the test suite"
|
||||
description = """Runs the test suite. In order to execute only a single
|
||||
test, you could also issue e.g. 'python -m unittest
|
||||
test.tests.test_01_basic.TestBasicFunctions.test_01_olistartup' on the
|
||||
command line."""
|
||||
user_options = []
|
||||
|
||||
def initialize_options(self):
|
||||
|
Reference in New Issue
Block a user