2022.6.17 - Unittests #84
@ -4,7 +4,7 @@
|
||||
"Version": {
|
||||
"Major": "2022",
|
||||
"Minor": "6",
|
||||
"Micro": "17.dev7"
|
||||
"Micro": "17.dev8"
|
||||
},
|
||||
"Author": "",
|
||||
"AuthorEmail": "",
|
||||
@ -16,7 +16,7 @@
|
||||
"LicenseName": "",
|
||||
"LicenseDescription": "",
|
||||
"Dependencies": [
|
||||
"cpl-core>=2022.6.17.dev7"
|
||||
"cpl-core>=2022.6.17.dev8"
|
||||
],
|
||||
"PythonVersion": ">=3.10.4",
|
||||
"PythonPath": {
|
||||
|
@ -28,7 +28,8 @@ class NewTestCase(unittest.TestCase):
|
||||
else:
|
||||
self.assertFalse(os.path.isfile(os.path.join(project_path, f'application.py')))
|
||||
|
||||
if '--sp' in args:
|
||||
# s depends on ab
|
||||
if '--ab' in args and '--s' in args:
|
||||
self.assertTrue(os.path.isfile(os.path.join(project_path, f'startup.py')))
|
||||
else:
|
||||
self.assertFalse(os.path.isfile(os.path.join(project_path, f'startup.py')))
|
||||
@ -50,10 +51,7 @@ class NewTestCase(unittest.TestCase):
|
||||
os.chdir(os.path.abspath(os.path.join(os.getcwd(), '../')))
|
||||
|
||||
def test_console(self):
|
||||
self._test_project('console', 'test-console', '--ab', '--s', '--sp')
|
||||
|
||||
def test_console_without_sp(self):
|
||||
self._test_project('console', 'test-console-without-sp', '--ab', '--s')
|
||||
self._test_project('console', 'test-console', '--ab', '--s')
|
||||
|
||||
def test_console_without_s(self):
|
||||
self._test_project('console', 'test-console-without-s', '--ab')
|
||||
@ -61,6 +59,9 @@ class NewTestCase(unittest.TestCase):
|
||||
def test_console_without_ab(self):
|
||||
self._test_project('console', 'test-console-without-ab', '--sp')
|
||||
|
||||
def test_console_without_anything(self):
|
||||
self._test_project('console', 'test-console-without-anything', '--n')
|
||||
|
||||
def test_sub_console(self):
|
||||
self._test_sub_project('console', 'test-sub-console', 'test-console', '--ab', '--s', '--sp')
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
"Version": {
|
||||
"Major": "2022",
|
||||
"Minor": "6",
|
||||
"Micro": "17.dev7"
|
||||
"Micro": "17.dev8"
|
||||
},
|
||||
"Author": "",
|
||||
"AuthorEmail": "",
|
||||
@ -16,8 +16,8 @@
|
||||
"LicenseName": "",
|
||||
"LicenseDescription": "",
|
||||
"Dependencies": [
|
||||
"cpl-core>=2022.6.17.dev7",
|
||||
"cpl-cli>=2022.6.17.dev7"
|
||||
"cpl-core>=2022.6.17.dev8",
|
||||
"cpl-cli>=2022.6.17.dev8"
|
||||
],
|
||||
"PythonVersion": ">=3.10.4",
|
||||
"PythonPath": {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"Version": {
|
||||
"Major": "2022",
|
||||
"Minor": "6",
|
||||
"Micro": "17.dev7"
|
||||
"Micro": "17.dev8"
|
||||
},
|
||||
"Author": "",
|
||||
"AuthorEmail": "",
|
||||
@ -16,7 +16,7 @@
|
||||
"LicenseName": "",
|
||||
"LicenseDescription": "",
|
||||
"Dependencies": [
|
||||
"cpl-core>=2022.6.17.dev7"
|
||||
"cpl-core>=2022.6.17.dev8"
|
||||
],
|
||||
"PythonVersion": ">=3.10.4",
|
||||
"PythonPath": {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"Version": {
|
||||
"Major": "2022",
|
||||
"Minor": "6",
|
||||
"Micro": "17.dev7"
|
||||
"Micro": "17.dev8"
|
||||
},
|
||||
"Author": "",
|
||||
"AuthorEmail": "",
|
||||
@ -16,8 +16,8 @@
|
||||
"LicenseName": "",
|
||||
"LicenseDescription": "",
|
||||
"Dependencies": [
|
||||
"cpl-core>=2022.6.17.dev7",
|
||||
"cpl-query>=2022.6.17.dev7"
|
||||
"cpl-core>=2022.6.17.dev8",
|
||||
"cpl-query>=2022.6.17.dev8"
|
||||
],
|
||||
"PythonVersion": ">=3.10.4",
|
||||
"PythonPath": {
|
||||
|
@ -4,7 +4,7 @@
|
||||
"Version": {
|
||||
"Major": "2022",
|
||||
"Minor": "6",
|
||||
"Micro": "17.dev7"
|
||||
"Micro": "17.dev8"
|
||||
},
|
||||
"Author": "",
|
||||
"AuthorEmail": "",
|
||||
@ -16,7 +16,7 @@
|
||||
"LicenseName": "",
|
||||
"LicenseDescription": "",
|
||||
"Dependencies": [
|
||||
"cpl-core>=2022.6.17.dev7"
|
||||
"cpl-core>=2022.6.17.dev8"
|
||||
],
|
||||
"PythonVersion": ">=3.10.4",
|
||||
"PythonPath": {
|
||||
|
Loading…
Reference in New Issue
Block a user