Updated docs
This commit is contained in:
@@ -21,7 +21,6 @@ from unittests_cli.version_test_case import VersionTestCase
|
||||
|
||||
|
||||
class CLITestSuite(unittest.TestSuite):
|
||||
|
||||
def __init__(self):
|
||||
unittest.TestSuite.__init__(self)
|
||||
|
||||
@@ -41,7 +40,7 @@ class CLITestSuite(unittest.TestSuite):
|
||||
StartTestCase,
|
||||
# workspace needed
|
||||
AddTestCase,
|
||||
RemoveTestCase
|
||||
RemoveTestCase,
|
||||
]
|
||||
|
||||
if self._is_online:
|
||||
@@ -60,7 +59,7 @@ class CLITestSuite(unittest.TestSuite):
|
||||
os.makedirs(PLAYGROUND_PATH)
|
||||
os.chdir(PLAYGROUND_PATH)
|
||||
except Exception as e:
|
||||
print(f'Setup of {__name__} failed: {traceback.format_exc()}')
|
||||
print(f"Setup of {__name__} failed: {traceback.format_exc()}")
|
||||
|
||||
def _cleanup(self):
|
||||
try:
|
||||
@@ -70,7 +69,7 @@ class CLITestSuite(unittest.TestSuite):
|
||||
if os.path.exists(PLAYGROUND_PATH):
|
||||
shutil.rmtree(os.path.abspath(os.path.join(PLAYGROUND_PATH)))
|
||||
except Exception as e:
|
||||
print(f'Cleanup of {__name__} failed: {traceback.format_exc()}')
|
||||
print(f"Cleanup of {__name__} failed: {traceback.format_exc()}")
|
||||
|
||||
def run(self, *args):
|
||||
self._setup()
|
||||
|
||||
Reference in New Issue
Block a user