Improved tests #129

This commit is contained in:
2022-12-01 17:00:17 +01:00
parent d8f7e03815
commit e8ae635c88
13 changed files with 47 additions and 16 deletions

View File

@@ -31,7 +31,10 @@ class InstallTestCase(unittest.TestCase):
project_file.close()
def setUp(self):
os.chdir(os.path.abspath(PLAYGROUND_PATH))
if not os.path.exists(PLAYGROUND_PATH):
os.makedirs(PLAYGROUND_PATH)
os.chdir(PLAYGROUND_PATH)
# create projects
CLICommands.new('console', self._source, '--ab', '--s')
os.chdir(os.path.join(os.getcwd(), self._source))