Build dev4 & added unittest support to console

This commit is contained in:
2022-05-26 15:41:47 +02:00
parent a72dd0dc2e
commit 79b51cf8c5
53 changed files with 108 additions and 96 deletions

View File

@@ -16,7 +16,7 @@
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"cpl-core>=2022.6.17.dev1"
"cpl-core>=2022.6.17.dev4"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {

View File

@@ -16,7 +16,7 @@
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"cpl-core>=2022.6.17.dev1"
"cpl-core>=2022.6.17.dev4"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {

View File

@@ -16,7 +16,7 @@
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"cpl-core>=2022.6.17.dev1"
"cpl-core>=2022.6.17.dev4"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {

View File

@@ -16,7 +16,7 @@
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"cpl-core>=2022.6.17.dev1"
"cpl-core>=2022.6.17.dev4"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {

View File

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

View File

@@ -16,7 +16,7 @@
"LicenseName": "",
"LicenseDescription": "",
"Dependencies": [
"cpl-core>=2022.6.17.dev1"
"cpl-core>=2022.6.17.dev4"
],
"PythonVersion": ">=3.10.4",
"PythonPath": {