Improved unittests & added tests for cpl new

This commit is contained in:
2022-05-26 22:21:16 +02:00
parent ce0ad4013f
commit 833dd83008
4 changed files with 35 additions and 29 deletions

View File

@@ -9,7 +9,7 @@ class CLICommands:
@staticmethod
def _run(cmd: str, *args):
env_vars = os.environ
# env_vars['CPL_IS_UNITTEST'] = 'YES'
env_vars['CPL_IS_UNITTEST'] = 'YES'
command = ['python', CLI_PATH, cmd]
for arg in args:
command.append(arg)