2022.6 #88
@ -43,7 +43,6 @@ class CLITestSuite(unittest.TestSuite):
|
|||||||
self.addTests(loader.loadTestsFromTestCase(RemoveTestCase))
|
self.addTests(loader.loadTestsFromTestCase(RemoveTestCase))
|
||||||
|
|
||||||
def _setup(self):
|
def _setup(self):
|
||||||
print(f'Setup {__name__}')
|
|
||||||
try:
|
try:
|
||||||
if os.path.exists(PLAYGROUND_PATH):
|
if os.path.exists(PLAYGROUND_PATH):
|
||||||
shutil.rmtree(os.path.abspath(os.path.join(PLAYGROUND_PATH, '../')))
|
shutil.rmtree(os.path.abspath(os.path.join(PLAYGROUND_PATH, '../')))
|
||||||
@ -54,7 +53,6 @@ class CLITestSuite(unittest.TestSuite):
|
|||||||
print(f'Setup of {__name__} failed: {traceback.format_exc()}')
|
print(f'Setup of {__name__} failed: {traceback.format_exc()}')
|
||||||
|
|
||||||
def _cleanup(self):
|
def _cleanup(self):
|
||||||
print(f'Cleanup {__name__}')
|
|
||||||
try:
|
try:
|
||||||
if os.path.exists(PLAYGROUND_PATH):
|
if os.path.exists(PLAYGROUND_PATH):
|
||||||
shutil.rmtree(os.path.abspath(os.path.join(PLAYGROUND_PATH, '../')))
|
shutil.rmtree(os.path.abspath(os.path.join(PLAYGROUND_PATH, '../')))
|
||||||
|
Loading…
Reference in New Issue
Block a user