Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 51 additions & 51 deletions test/pytest/pytestfiles/test_08_NAMING_CONVENTION_BADCASE.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,55 +26,55 @@
from pytestlibs.CExecute import CExecute

# --------------------------------------------------------------------------------------------------------------
# mas2hc: Commented out the Test_NAMING_CONVENTION_BADCASE test cases due to the comment out in TestConfig.py is not effective
# class Test_NAMING_CONVENTION_BADCASE:

class Test_NAMING_CONVENTION_BADCASE:

# --------------------------------------------------------------------------------------------------------------
# Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with several invalid parameter names (1)",]
)
def test_JPP_0450(self, Description):
nReturn = CExecute.Execute("JPP_0450")
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with several invalid parameter names (2)",]
)
def test_JPP_0451(self, Description):
nReturn = CExecute.Execute("JPP_0451")
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with several invalid parameter names (3)",]
)
def test_JPP_0452(self, Description):
nReturn = CExecute.Execute("JPP_0452")
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with several invalid parameter names (4)",]
)
def test_JPP_0453(self, Description):
nReturn = CExecute.Execute("JPP_0453")
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with several invalid parameter names (5)",]
)
def test_JPP_0454(self, Description):
nReturn = CExecute.Execute("JPP_0454")
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with several invalid parameter names (6)",]
)
def test_JPP_0455(self, Description):
nReturn = CExecute.Execute("JPP_0455")
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# # --------------------------------------------------------------------------------------------------------------
# # Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
# @pytest.mark.parametrize(
# "Description", ["JSON file with several invalid parameter names (1)",]
# )
# def test_JPP_0450(self, Description):
# nReturn = CExecute.Execute("JPP_0450")
# assert nReturn == 0
# # --------------------------------------------------------------------------------------------------------------
# # Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
# @pytest.mark.parametrize(
# "Description", ["JSON file with several invalid parameter names (2)",]
# )
# def test_JPP_0451(self, Description):
# nReturn = CExecute.Execute("JPP_0451")
# assert nReturn == 0
# # --------------------------------------------------------------------------------------------------------------
# # Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
# @pytest.mark.parametrize(
# "Description", ["JSON file with several invalid parameter names (3)",]
# )
# def test_JPP_0452(self, Description):
# nReturn = CExecute.Execute("JPP_0452")
# assert nReturn == 0
# # --------------------------------------------------------------------------------------------------------------
# # Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
# @pytest.mark.parametrize(
# "Description", ["JSON file with several invalid parameter names (4)",]
# )
# def test_JPP_0453(self, Description):
# nReturn = CExecute.Execute("JPP_0453")
# assert nReturn == 0
# # --------------------------------------------------------------------------------------------------------------
# # Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
# @pytest.mark.parametrize(
# "Description", ["JSON file with several invalid parameter names (5)",]
# )
# def test_JPP_0454(self, Description):
# nReturn = CExecute.Execute("JPP_0454")
# assert nReturn == 0
# # --------------------------------------------------------------------------------------------------------------
# # Expected: Expected: No values are returned, and JsonPreprocessor throws an exception
# @pytest.mark.parametrize(
# "Description", ["JSON file with several invalid parameter names (6)",]
# )
# def test_JPP_0455(self, Description):
# nReturn = CExecute.Execute("JPP_0455")
# assert nReturn == 0
# # --------------------------------------------------------------------------------------------------------------
30 changes: 16 additions & 14 deletions test/pytest/pytestfiles/test_16_FILE_IMPORTS_BADCASE.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,20 +95,22 @@ def test_JPP_1157(self, Description):
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with error in [import] key (1)",]
)
def test_JPP_1158(self, Description):
nReturn = CExecute.Execute("JPP_1158")
assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
"Description", ["JSON file with error in [import] key (2)",]
)
def test_JPP_1159(self, Description):
nReturn = CExecute.Execute("JPP_1159")
assert nReturn == 0
# mas2hc: Commented out this test case due to the comment out in TestConfig.py is not effective
# @pytest.mark.parametrize(
# "Description", ["JSON file with error in [import] key (1)",]
# )
# def test_JPP_1158(self, Description):
# nReturn = CExecute.Execute("JPP_1158")
# assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: No values are returned, and JsonPreprocessor throws an exception
# mas2hc: Commented out this test case due to the comment out in TestConfig.py is not effective
# @pytest.mark.parametrize(
# "Description", ["JSON file with error in [import] key (2)",]
# )
# def test_JPP_1159(self, Description):
# nReturn = CExecute.Execute("JPP_1159")
# assert nReturn == 0
# --------------------------------------------------------------------------------------------------------------
# Expected: No values are returned, and JsonPreprocessor throws an exception
@pytest.mark.parametrize(
Expand Down
Loading