diff --git a/test/JPP_TestUsecases.csv b/test/JPP_TestUsecases.csv index d347b4a..e30040b 100644 --- a/test/JPP_TestUsecases.csv +++ b/test/JPP_TestUsecases.csv @@ -128,6 +128,8 @@ JPP_1108|FILE_IMPORTS|GOODCASE|JSON file import based on parameters (dynamic imp JPP_1109|FILE_IMPORTS|GOODCASE|JSON file import based on dictionary key values JPP_1110|FILE_IMPORTS|GOODCASE|JSON file import based on list elemens JPP_1111|FILE_IMPORTS|GOODCASE|JSON file import based on parameters (dynamic import (7)) +JPP_1112|FILE_IMPORTS|GOODCASE|JSON file containing an import of the same file in different levels (within the same file) +JPP_1113|FILE_IMPORTS|GOODCASE|JSON file containing an import of the same file in different levels (within imported files) JPP_1150|FILE_IMPORTS|BADCASE|JSON file with cyclic imports (JSON file imports itself, fix path) JPP_1151|FILE_IMPORTS|BADCASE|JSON file with cyclic imports (JSON file imports another file, that is already imported, fix path) JPP_1152|FILE_IMPORTS|BADCASE|JSON file with cyclic imports (JSON file imports itself, dynamic path) @@ -139,6 +141,10 @@ JPP_1157|FILE_IMPORTS|BADCASE|JSON file with syntax error in import path (2) JPP_1158|FILE_IMPORTS|BADCASE|JSON file with error in [import] key (1) JPP_1159|FILE_IMPORTS|BADCASE|JSON file with error in [import] key (2) JPP_1160|FILE_IMPORTS|BADCASE|JSON file with error in imported file +JPP_1161|FILE_IMPORTS|BADCASE|JSON file with invalid data type of [import] key (1) +JPP_1162|FILE_IMPORTS|BADCASE|JSON file with invalid data type of [import] key (2) +JPP_1163|FILE_IMPORTS|BADCASE|JSON file with invalid data type of [import] key (3) +JPP_1164|FILE_IMPORTS|BADCASE|JSON file with invalid data type of [import] key (4) JPP_1165|FILE_IMPORTS|BADCASE|JSON file with cyclic imports (sawtooth, stopped) JPP_1166|FILE_IMPORTS|BADCASE|JSON file with cyclic imports (sawtooth, endless) JPP_1200|PATH_FORMATS|GOODCASE|Relative path to JSON file diff --git a/test/JPP_TestUsecases.html b/test/JPP_TestUsecases.html index 8aa0c7b..702f9e2 100644 --- a/test/JPP_TestUsecases.html +++ b/test/JPP_TestUsecases.html @@ -4292,6 +4292,72 @@ 129 + + + +JPP_1112 + + + + +FILE_IMPORTS + + + + +GOODCASE + + + + +JSON file containing an import of the same file in different levels (within the same file)
+Expected: JsonPreprocessor returns values + + +
+ + + + + + + +130 + + + + + +JPP_1113 + + + + +FILE_IMPORTS + + + + +GOODCASE + + + + +JSON file containing an import of the same file in different levels (within imported files)
+Expected: JsonPreprocessor returns values + + +
+ + + + + + + +131 + + @@ -4323,7 +4389,7 @@ -130 +132 @@ -4357,7 +4423,7 @@ -131 +133 @@ -4391,7 +4457,7 @@ -132 +134 @@ -4425,7 +4491,7 @@ -133 +135 @@ -4458,7 +4524,7 @@ -134 +136 @@ -4491,7 +4557,7 @@ -135 +137 @@ -4524,7 +4590,7 @@ -136 +138 @@ -4557,7 +4623,7 @@ -137 +139 @@ -4590,7 +4656,7 @@ -138 +140 @@ -4623,7 +4689,7 @@ -139 +141 @@ -4656,7 +4722,143 @@ -140 +142 + + + + + +JPP_1161 + + + + +FILE_IMPORTS + + + + +BADCASE + + + + +JSON file with invalid data type of [import] key (1)
+Expected: No values are returned, and JsonPreprocessor throws an exception + +
+'int' instead of 'str' +
+ + + + + + + +143 + + + + + +JPP_1162 + + + + +FILE_IMPORTS + + + + +BADCASE + + + + +JSON file with invalid data type of [import] key (2)
+Expected: No values are returned, and JsonPreprocessor throws an exception + +
+'list' instead of 'str' +
+ + + + + + + +144 + + + + + +JPP_1163 + + + + +FILE_IMPORTS + + + + +BADCASE + + + + +JSON file with invalid data type of [import] key (3)
+Expected: No values are returned, and JsonPreprocessor throws an exception + +
+'dict' instead of 'str' +
+ + + + + + + +145 + + + + + +JPP_1164 + + + + +FILE_IMPORTS + + + + +BADCASE + + + + +JSON file with invalid data type of [import] key (4)
+Expected: No values are returned, and JsonPreprocessor throws an exception + +
+'int' instead of 'str' (from 'dict') +
+ + + + + + + +146 @@ -4690,7 +4892,7 @@ -141 +147 @@ -4724,7 +4926,7 @@ -142 +148 @@ -4758,7 +4960,7 @@ -143 +149 @@ -4791,7 +4993,7 @@ -144 +150 @@ -4824,7 +5026,7 @@ -145 +151 @@ -4857,7 +5059,7 @@ -146 +152 @@ -4890,7 +5092,7 @@ -147 +153 @@ -4923,7 +5125,7 @@ -148 +154 @@ -4956,7 +5158,7 @@ -149 +155 @@ -4989,7 +5191,7 @@ -150 +156 @@ -5022,7 +5224,7 @@ -151 +157 @@ -5055,7 +5257,7 @@ -152 +158 @@ -5088,7 +5290,7 @@ -153 +159 @@ -5121,7 +5323,7 @@ -154 +160 @@ -5154,7 +5356,7 @@ -155 +161 @@ -5187,7 +5389,7 @@ -156 +162 @@ -5220,7 +5422,7 @@ -157 +163 @@ -5253,7 +5455,7 @@ -158 +164 @@ -5286,7 +5488,7 @@ -159 +165 @@ -5319,7 +5521,7 @@ -160 +166 @@ -5352,7 +5554,7 @@ -161 +167 @@ -5385,7 +5587,7 @@ -162 +168 @@ -5418,7 +5620,7 @@ -163 +169 @@ -5451,7 +5653,7 @@ -164 +170 @@ -5484,7 +5686,7 @@ -165 +171 @@ -5517,7 +5719,7 @@ -166 +172 @@ -5550,7 +5752,7 @@ -167 +173 @@ -5583,7 +5785,7 @@ -168 +174 @@ -5616,7 +5818,7 @@ -169 +175 @@ -5649,7 +5851,7 @@ -170 +176 @@ -5682,7 +5884,7 @@ -171 +177 @@ -5715,7 +5917,7 @@ -172 +178 @@ -5748,7 +5950,7 @@ -173 +179 @@ -5781,7 +5983,7 @@ -174 +180 @@ -5814,7 +6016,7 @@ -175 +181 @@ -5847,7 +6049,7 @@ -176 +182 @@ -5880,7 +6082,7 @@ -177 +183 @@ -5913,7 +6115,7 @@ -178 +184 @@ -5946,7 +6148,7 @@ -179 +185 @@ -5979,7 +6181,7 @@ -180 +186 @@ -6012,7 +6214,7 @@ -181 +187 @@ -6045,7 +6247,7 @@ -182 +188 @@ -6078,7 +6280,7 @@ -183 +189 @@ -6111,7 +6313,7 @@ -184 +190 @@ -6144,7 +6346,7 @@ -185 +191 @@ -6177,7 +6379,7 @@ -186 +192 @@ -6210,7 +6412,7 @@ -187 +193 @@ -6243,7 +6445,7 @@ -188 +194 @@ -6276,7 +6478,7 @@ -189 +195 @@ -6309,7 +6511,7 @@ -190 +196 @@ -6342,7 +6544,7 @@ -191 +197 @@ -6375,7 +6577,7 @@ -192 +198 @@ -6408,7 +6610,7 @@ -193 +199 @@ -6441,7 +6643,7 @@
 

-
Generated: 18.11.2024 - 15:10:55
+
Generated: 26.11.2024 - 12:36:07
 
diff --git a/test/JPP_TestUsecases.rst b/test/JPP_TestUsecases.rst index d6733a8..2de6fc8 100644 --- a/test/JPP_TestUsecases.rst +++ b/test/JPP_TestUsecases.rst @@ -1363,6 +1363,26 @@ Test Use Cases ---- +* **Test JPP_1112** + + [FILE_IMPORTS / GOODCASE] + + **JSON file containing an import of the same file in different levels (within the same file)** + + Expected: JsonPreprocessor returns values + +---- + +* **Test JPP_1113** + + [FILE_IMPORTS / GOODCASE] + + **JSON file containing an import of the same file in different levels (within imported files)** + + Expected: JsonPreprocessor returns values + +---- + * **Test JPP_1150** [FILE_IMPORTS / BADCASE] @@ -1481,6 +1501,54 @@ Test Use Cases ---- +* **Test JPP_1161** + + [FILE_IMPORTS / BADCASE] + + **JSON file with invalid data type of [import] key (1)** + + Expected: No values are returned, and JsonPreprocessor throws an exception + + *Hint: 'int' instead of 'str'* + +---- + +* **Test JPP_1162** + + [FILE_IMPORTS / BADCASE] + + **JSON file with invalid data type of [import] key (2)** + + Expected: No values are returned, and JsonPreprocessor throws an exception + + *Hint: 'list' instead of 'str'* + +---- + +* **Test JPP_1163** + + [FILE_IMPORTS / BADCASE] + + **JSON file with invalid data type of [import] key (3)** + + Expected: No values are returned, and JsonPreprocessor throws an exception + + *Hint: 'dict' instead of 'str'* + +---- + +* **Test JPP_1164** + + [FILE_IMPORTS / BADCASE] + + **JSON file with invalid data type of [import] key (4)** + + Expected: No values are returned, and JsonPreprocessor throws an exception + + *Hint: 'int' instead of 'str' (from 'dict')* + +---- + * **Test JPP_1165** [FILE_IMPORTS / BADCASE] @@ -2027,5 +2095,5 @@ Test Use Cases ---- -Generated: 18.11.2024 - 15:10:55 +Generated: 26.11.2024 - 12:36:07 diff --git a/test/JPP_TestUsecases.txt b/test/JPP_TestUsecases.txt index 2ef7f16..e168fcf 100644 --- a/test/JPP_TestUsecases.txt +++ b/test/JPP_TestUsecases.txt @@ -561,6 +561,14 @@ Test JPP_1111 / FILE_IMPORTS / GOODCASE Description: JSON file import based on parameters (dynamic import (7)) Expectation: JsonPreprocessor returns values ------------------------------------------------------------------------------------------------------------------------ +Test JPP_1112 / FILE_IMPORTS / GOODCASE +Description: JSON file containing an import of the same file in different levels (within the same file) +Expectation: JsonPreprocessor returns values +------------------------------------------------------------------------------------------------------------------------ +Test JPP_1113 / FILE_IMPORTS / GOODCASE +Description: JSON file containing an import of the same file in different levels (within imported files) +Expectation: JsonPreprocessor returns values +------------------------------------------------------------------------------------------------------------------------ Test JPP_1150 / FILE_IMPORTS / BADCASE Description: JSON file with cyclic imports (JSON file imports itself, fix path) Expectation: No values are returned, and JsonPreprocessor throws an exception @@ -609,6 +617,26 @@ Test JPP_1160 / FILE_IMPORTS / BADCASE Description: JSON file with error in imported file Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ +Test JPP_1161 / FILE_IMPORTS / BADCASE +Description: JSON file with invalid data type of [import] key (1) +Expectation: No values are returned, and JsonPreprocessor throws an exception +Hint.......: 'int' instead of 'str' +------------------------------------------------------------------------------------------------------------------------ +Test JPP_1162 / FILE_IMPORTS / BADCASE +Description: JSON file with invalid data type of [import] key (2) +Expectation: No values are returned, and JsonPreprocessor throws an exception +Hint.......: 'list' instead of 'str' +------------------------------------------------------------------------------------------------------------------------ +Test JPP_1163 / FILE_IMPORTS / BADCASE +Description: JSON file with invalid data type of [import] key (3) +Expectation: No values are returned, and JsonPreprocessor throws an exception +Hint.......: 'dict' instead of 'str' +------------------------------------------------------------------------------------------------------------------------ +Test JPP_1164 / FILE_IMPORTS / BADCASE +Description: JSON file with invalid data type of [import] key (4) +Expectation: No values are returned, and JsonPreprocessor throws an exception +Hint.......: 'int' instead of 'str' (from 'dict') +------------------------------------------------------------------------------------------------------------------------ Test JPP_1165 / FILE_IMPORTS / BADCASE Description: JSON file with cyclic imports (sawtooth, stopped) Expectation: No values are returned, and JsonPreprocessor throws an exception @@ -828,5 +856,5 @@ Test JPP_2058 / PARAMETER_SCOPE / BADCASE Description: JSON file containing a parameter with missing scope (9) Expectation: No values are returned, and JsonPreprocessor throws an exception ------------------------------------------------------------------------------------------------------------------------ -Generated: 18.11.2024 - 15:10:55 +Generated: 26.11.2024 - 12:36:07 diff --git a/test/component_test.py b/test/component_test.py index 56022d2..83b7456 100644 --- a/test/component_test.py +++ b/test/component_test.py @@ -22,8 +22,8 @@ # # -------------------------------------------------------------------------------------------------------------- # -VERSION = "0.54.0" -VERSION_DATE = "18.11.2024" +VERSION = "0.55.0" +VERSION_DATE = "26.11.2024" # # -------------------------------------------------------------------------------------------------------------- #TM*** diff --git a/test/pytest/pytestfiles/test_15_FILE_IMPORTS_GOODCASE.py b/test/pytest/pytestfiles/test_15_FILE_IMPORTS_GOODCASE.py index c3680ce..b027495 100644 --- a/test/pytest/pytestfiles/test_15_FILE_IMPORTS_GOODCASE.py +++ b/test/pytest/pytestfiles/test_15_FILE_IMPORTS_GOODCASE.py @@ -18,7 +18,7 @@ # # XC-HWP/ESW3-Queckenstedt # -# 14.11.2024 - 15:38:04 +# 26.11.2024 - 12:36:07 # # -------------------------------------------------------------------------------------------------------------- @@ -125,4 +125,20 @@ def test_JPP_1110(self, Description): def test_JPP_1111(self, Description): nReturn = CExecute.Execute("JPP_1111") assert nReturn == 0 +# -------------------------------------------------------------------------------------------------------------- + # Expected: JsonPreprocessor returns values + @pytest.mark.parametrize( + "Description", ["JSON file containing an import of the same file in different levels (within the same file)",] + ) + def test_JPP_1112(self, Description): + nReturn = CExecute.Execute("JPP_1112") + assert nReturn == 0 +# -------------------------------------------------------------------------------------------------------------- + # Expected: JsonPreprocessor returns values + @pytest.mark.parametrize( + "Description", ["JSON file containing an import of the same file in different levels (within imported files)",] + ) + def test_JPP_1113(self, Description): + nReturn = CExecute.Execute("JPP_1113") + assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- diff --git a/test/pytest/pytestfiles/test_16_FILE_IMPORTS_BADCASE.py b/test/pytest/pytestfiles/test_16_FILE_IMPORTS_BADCASE.py index ffa5afb..e2b392a 100644 --- a/test/pytest/pytestfiles/test_16_FILE_IMPORTS_BADCASE.py +++ b/test/pytest/pytestfiles/test_16_FILE_IMPORTS_BADCASE.py @@ -18,7 +18,7 @@ # # XC-HWP/ESW3-Queckenstedt # -# 18.11.2024 - 15:10:55 +# 26.11.2024 - 12:36:07 # # -------------------------------------------------------------------------------------------------------------- @@ -117,6 +117,38 @@ def test_JPP_1159(self, Description): def test_JPP_1160(self, Description): nReturn = CExecute.Execute("JPP_1160") assert nReturn == 0 +# -------------------------------------------------------------------------------------------------------------- + # Expected: No values are returned, and JsonPreprocessor throws an exception + @pytest.mark.parametrize( + "Description", ["JSON file with invalid data type of [import] key (1)",] + ) + def test_JPP_1161(self, Description): + nReturn = CExecute.Execute("JPP_1161") + assert nReturn == 0 +# -------------------------------------------------------------------------------------------------------------- + # Expected: No values are returned, and JsonPreprocessor throws an exception + @pytest.mark.parametrize( + "Description", ["JSON file with invalid data type of [import] key (2)",] + ) + def test_JPP_1162(self, Description): + nReturn = CExecute.Execute("JPP_1162") + assert nReturn == 0 +# -------------------------------------------------------------------------------------------------------------- + # Expected: No values are returned, and JsonPreprocessor throws an exception + @pytest.mark.parametrize( + "Description", ["JSON file with invalid data type of [import] key (3)",] + ) + def test_JPP_1163(self, Description): + nReturn = CExecute.Execute("JPP_1163") + assert nReturn == 0 +# -------------------------------------------------------------------------------------------------------------- + # Expected: No values are returned, and JsonPreprocessor throws an exception + @pytest.mark.parametrize( + "Description", ["JSON file with invalid data type of [import] key (4)",] + ) + def test_JPP_1164(self, Description): + nReturn = CExecute.Execute("JPP_1164") + assert nReturn == 0 # -------------------------------------------------------------------------------------------------------------- # Expected: No values are returned, and JsonPreprocessor throws an exception @pytest.mark.parametrize( diff --git a/test/testconfig/TestConfig.py b/test/testconfig/TestConfig.py index 9596014..e5480bd 100644 --- a/test/testconfig/TestConfig.py +++ b/test/testconfig/TestConfig.py @@ -22,7 +22,7 @@ # # -------------------------------------------------------------------------------------------------------------- # -# 18.11.2024 +# 26.11.2024 # # !!! Temporarily tests are deactivated by the following line commented out: # # # listofdictUsecases.append(dictUsecase) @@ -3050,7 +3050,6 @@ del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} -# https://github.com/test-fullautomation/python-jsonpreprocessor/issues/390 dictUsecase['TESTID'] = "JPP_1112" dictUsecase['DESCRIPTION'] = "JSON file containing an import of the same file in different levels (within the same file)" dictUsecase['EXPECTATION'] = "JsonPreprocessor returns values" @@ -3060,12 +3059,20 @@ dictUsecase['COMMENT'] = None dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_1112.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = None -dictUsecase['EXPECTEDRETURN'] = None # currently: Cyclic imported json file -# # # listofdictUsecases.append(dictUsecase) +dictUsecase['EXPECTEDRETURN'] = """ +[DOTDICT] (4/1) > {AA} [STR] : 'AA' +[DOTDICT] (4/2) > {root} [STR] : '../' +[DOTDICT] (4/3) > {values_AA_1} [DOTDICT] (3/1) > {AA_1_a} [INT] : 1 +[DOTDICT] (4/3) > {values_AA_1} [DOTDICT] (3/2) > {common_sublevel_param} [STR] : 'common_sublevel_param value' +[DOTDICT] (4/3) > {values_AA_1} [DOTDICT] (3/3) > {AA_1_b} [INT] : 2 +[DOTDICT] (4/4) > {values_AA_2} [DOTDICT] (3/1) > {AA_2_a} [INT] : 1 +[DOTDICT] (4/4) > {values_AA_2} [DOTDICT] (3/2) > {common_sublevel_param} [STR] : 'common_sublevel_param value' +[DOTDICT] (4/4) > {values_AA_2} [DOTDICT] (3/3) > {AA_2_b} [INT] : 2 +""" +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} -# https://github.com/test-fullautomation/python-jsonpreprocessor/issues/390 dictUsecase['TESTID'] = "JPP_1113" dictUsecase['DESCRIPTION'] = "JSON file containing an import of the same file in different levels (within imported files)" dictUsecase['EXPECTATION'] = "JsonPreprocessor returns values" @@ -3075,8 +3082,26 @@ dictUsecase['COMMENT'] = None dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_1113.jsonp" dictUsecase['EXPECTEDEXCEPTION'] = None -dictUsecase['EXPECTEDRETURN'] = None # currently: Cyclic imported json file -# # # listofdictUsecases.append(dictUsecase) +dictUsecase['EXPECTEDRETURN'] = """ +[DOTDICT] (9/1) > {AA} [STR] : 'AA' +[DOTDICT] (9/2) > {values_AA} [DOTDICT] (3/1) > {AA_1} [INT] : 1 +[DOTDICT] (9/2) > {values_AA} [DOTDICT] (3/2) > {common_sublevel_param} [STR] : 'common_sublevel_param value' +[DOTDICT] (9/2) > {values_AA} [DOTDICT] (3/3) > {AA_2} [INT] : 2 +[DOTDICT] (9/3) > {BB} [STR] : 'BB' +[DOTDICT] (9/4) > {values_BB} [DOTDICT] (3/1) > {BB_1} [INT] : 1 +[DOTDICT] (9/4) > {values_BB} [DOTDICT] (3/2) > {common_sublevel_param} [STR] : 'common_sublevel_param value' +[DOTDICT] (9/4) > {values_BB} [DOTDICT] (3/3) > {BB_2} [INT] : 2 +[DOTDICT] (9/5) > {CC} [STR] : 'CC' +[DOTDICT] (9/6) > {values_CC} [DOTDICT] (3/1) > {CC_1} [INT] : 1 +[DOTDICT] (9/6) > {values_CC} [DOTDICT] (3/2) > {common_sublevel_param} [STR] : 'common_sublevel_param value' +[DOTDICT] (9/6) > {values_CC} [DOTDICT] (3/3) > {CC_2} [INT] : 2 +[DOTDICT] (9/7) > {DD} [STR] : 'DD' +[DOTDICT] (9/8) > {root} [STR] : '../../../../' +[DOTDICT] (9/9) > {values_DD} [DOTDICT] (3/1) > {DD_1} [INT] : 1 +[DOTDICT] (9/9) > {values_DD} [DOTDICT] (3/2) > {common_sublevel_param} [STR] : 'common_sublevel_param value' +[DOTDICT] (9/9) > {values_DD} [DOTDICT] (3/3) > {DD_2} [INT] : 2 +""" +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- # -------------------------------------------------------------------------------------------------------------- @@ -3245,9 +3270,9 @@ dictUsecase['HINT'] = "'int' instead of 'str'" dictUsecase['COMMENT'] = None dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_1161.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = None # currently: argument of type 'int' is not iterable +dictUsecase['EXPECTEDEXCEPTION'] = "The [import] key requires a value of type 'str', but the type is 'int'" dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -3260,9 +3285,9 @@ dictUsecase['HINT'] = "'list' instead of 'str'" dictUsecase['COMMENT'] = None dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_1162.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = None # currently: 'list' object has no attribute 'strip' +dictUsecase['EXPECTEDEXCEPTION'] = "The [import] key requires a value of type 'str', but the type is 'list'" dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -3275,9 +3300,9 @@ dictUsecase['HINT'] = "'dict' instead of 'str'" dictUsecase['COMMENT'] = None dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_1163.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = None # currently: 'dict' object has no attribute 'strip' +dictUsecase['EXPECTEDEXCEPTION'] = "The [import] key requires a value of type 'str', but the type is 'dict'" dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {} @@ -3290,9 +3315,9 @@ dictUsecase['HINT'] = "'int' instead of 'str' (from 'dict')" dictUsecase['COMMENT'] = None dictUsecase['JSONFILE'] = r"..\testfiles\jpp-test_config_1164.jsonp" -dictUsecase['EXPECTEDEXCEPTION'] = None # currently: File '%values%['A']' is not existing! +dictUsecase['EXPECTEDEXCEPTION'] = "The [import] key requires a value of type 'str', but the type is 'int'" dictUsecase['EXPECTEDRETURN'] = None -# # # listofdictUsecases.append(dictUsecase) +listofdictUsecases.append(dictUsecase) del dictUsecase # -------------------------------------------------------------------------------------------------------------- dictUsecase = {}