Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 07eae0e

Browse files
restyled-commitsvatsalghelani-csa
authored andcommittedSep 18, 2024·
Restyled by autopep8
1 parent 78b52b7 commit 07eae0e

File tree

1 file changed

+39
-38
lines changed

1 file changed

+39
-38
lines changed
 

‎src/python_testing/execute_python_tests.py

+39-38
Original file line numberDiff line numberDiff line change
@@ -55,45 +55,46 @@ def main(search_directory, env_file):
5555

5656
# Define the files and patterns to exclude
5757
excluded_patterns = {
58-
"MinimalRepresentation.py", # Code/Test not being used or not shared code for any other tests
59-
"TC_CNET_4_4.py", # It has no CI execution block, is not executed in CI
60-
"TC_CCTRL_2_1.py", # They rely on example applications that inter-communicate and there is no example app that works right now
61-
"TC_CCTRL_2_2.py", # They rely on example applications that inter-communicate and there is no example app that works right now
62-
"TC_CCTRL_2_3.py", # They rely on example applications that inter-communicate and there is no example app that works right now
63-
"TC_DGGEN_3_2.py", # Unit test/shared code of src/python_testing/test_testing/test_TC_DGGEN_3_2.py
64-
"TC_EEVSE_Utils.py", # Shared code for TC_EEVSE, not a standalone test
65-
"TC_ECOINFO_2_1.py", # They rely on example applications that inter-communicate and there is no example app that works right now
66-
"TC_ECOINFO_2_2.py", # They rely on example applications that inter-communicate and there is no example app that works right now
67-
"TC_EWATERHTRBase.py", # Shared code for TC_EWATERHTR, not a standalone test
68-
"TC_EnergyReporting_Utils.py", # Shared code for TC_EEM and TC_EPM, not a standalone test
69-
"TC_OpstateCommon.py", # Shared code for TC_OPSTATE, not a standalone test
70-
"TC_pics_checker.py", # Unit test/shared code of src/python_testing/test_testing/test_IDM_10_4.py
71-
"TC_TMP_2_1.py", # Unit test/shared code of src/python_testing/test_testing/test_TC_TMP_2_1.py
72-
"TC_MCORE_FS_1_1.py", # This test requires a TH_SERVER application, hence not ready run with CI
73-
"TC_MCORE_FS_1_2.py", # This test requires a TH_SERVER application, hence not ready run with CI
74-
"TC_MCORE_FS_1_3.py", # This test requires a TH_SERVER application, hence not ready run with CI
75-
"TC_MCORE_FS_1_4.py", # This test requires a TH_SERVER application, hence not ready run with CI
76-
"TC_MCORE_FS_1_5.py", # This test requires a TH_SERVER application, hence not ready run with CI
77-
"TC_OCC_3_1.py", # There are CI issues for the test cases that implements manually controlling sensor device for the occupancy state ON/OFF change
78-
"TC_OCC_3_2.py", # There are CI issues for the test cases that implements manually controlling sensor device for the occupancy state ON/OFF change
79-
"TC_BRBINFO_4_1.py", # This test requires a TH_ICD_SERVER application, hence not ready run with CI
80-
"TestCommissioningTimeSync.py", # Code/Test not being used or not shared code for any other tests
81-
"TestConformanceSupport.py", # Unit test - does not run against an app
82-
"TestChoiceConformanceSupport.py", # Unit test - does not run against an app
83-
"TC_DEMTestBase.py", # Shared code for TC_DEM, not a standalone test
58+
"MinimalRepresentation.py", # Code/Test not being used or not shared code for any other tests
59+
"TC_CNET_4_4.py", # It has no CI execution block, is not executed in CI
60+
"TC_CCTRL_2_1.py", # They rely on example applications that inter-communicate and there is no example app that works right now
61+
"TC_CCTRL_2_2.py", # They rely on example applications that inter-communicate and there is no example app that works right now
62+
"TC_CCTRL_2_3.py", # They rely on example applications that inter-communicate and there is no example app that works right now
63+
"TC_DGGEN_3_2.py", # Unit test/shared code of src/python_testing/test_testing/test_TC_DGGEN_3_2.py
64+
"TC_EEVSE_Utils.py", # Shared code for TC_EEVSE, not a standalone test
65+
"TC_ECOINFO_2_1.py", # They rely on example applications that inter-communicate and there is no example app that works right now
66+
"TC_ECOINFO_2_2.py", # They rely on example applications that inter-communicate and there is no example app that works right now
67+
"TC_EWATERHTRBase.py", # Shared code for TC_EWATERHTR, not a standalone test
68+
"TC_EnergyReporting_Utils.py", # Shared code for TC_EEM and TC_EPM, not a standalone test
69+
"TC_OpstateCommon.py", # Shared code for TC_OPSTATE, not a standalone test
70+
"TC_pics_checker.py", # Unit test/shared code of src/python_testing/test_testing/test_IDM_10_4.py
71+
"TC_TMP_2_1.py", # Unit test/shared code of src/python_testing/test_testing/test_TC_TMP_2_1.py
72+
"TC_MCORE_FS_1_1.py", # This test requires a TH_SERVER application, hence not ready run with CI
73+
"TC_MCORE_FS_1_2.py", # This test requires a TH_SERVER application, hence not ready run with CI
74+
"TC_MCORE_FS_1_3.py", # This test requires a TH_SERVER application, hence not ready run with CI
75+
"TC_MCORE_FS_1_4.py", # This test requires a TH_SERVER application, hence not ready run with CI
76+
"TC_MCORE_FS_1_5.py", # This test requires a TH_SERVER application, hence not ready run with CI
77+
"TC_OCC_3_1.py", # There are CI issues for the test cases that implements manually controlling sensor device for the occupancy state ON/OFF change
78+
"TC_OCC_3_2.py", # There are CI issues for the test cases that implements manually controlling sensor device for the occupancy state ON/OFF change
79+
"TC_BRBINFO_4_1.py", # This test requires a TH_ICD_SERVER application, hence not ready run with CI
80+
"TestCommissioningTimeSync.py", # Code/Test not being used or not shared code for any other tests
81+
"TestConformanceSupport.py", # Unit test - does not run against an app
82+
"TestChoiceConformanceSupport.py", # Unit test - does not run against an app
83+
"TC_DEMTestBase.py", # Shared code for TC_DEM, not a standalone test
8484
"TestConformanceTest.py", # Unit test of the conformance test (TC_DeviceConformance) - does not run against an app
85-
"TestIdChecks.py", # Unit test - does not run against an app
86-
"TestSpecParsingDeviceType.py", # Unit test - does not run against an app
87-
"TestConformanceTest.py", # Unit test - does not run against an app
88-
"TestMatterTestingSupport.py", # Unit test - does not run against an app
89-
"TestSpecParsingSupport.py", # Unit test - does not run against an app
90-
"TestTimeSyncTrustedTimeSource.py", # Unit test and shared code for scripts/tests/TestTimeSyncTrustedTimeSourceRunner.py
91-
"drlk_2_x_common.py", # Shared code for TC_DRLK, not a standalone test
92-
"execute_python_tests.py", # Python code that runs all the python tests from src/python_testing (This code itself run via tests.yaml)
93-
"hello_external_runner.py", # Code/Test not being used or not shared code for any other tests
94-
"hello_test.py", # Is a template for tests
95-
"test_plan_support.py", # Shared code for TC_*, not a standalone test
96-
"test_plan_table_generator.py" # Code/Test not being used or not shared code for any other tests
85+
"TestIdChecks.py", # Unit test - does not run against an app
86+
"TestSpecParsingDeviceType.py", # Unit test - does not run against an app
87+
"TestConformanceTest.py", # Unit test - does not run against an app
88+
"TestMatterTestingSupport.py", # Unit test - does not run against an app
89+
"TestSpecParsingSupport.py", # Unit test - does not run against an app
90+
"TestTimeSyncTrustedTimeSource.py", # Unit test and shared code for scripts/tests/TestTimeSyncTrustedTimeSourceRunner.py
91+
"drlk_2_x_common.py", # Shared code for TC_DRLK, not a standalone test
92+
# Python code that runs all the python tests from src/python_testing (This code itself run via tests.yaml)
93+
"execute_python_tests.py",
94+
"hello_external_runner.py", # Code/Test not being used or not shared code for any other tests
95+
"hello_test.py", # Is a template for tests
96+
"test_plan_support.py", # Shared code for TC_*, not a standalone test
97+
"test_plan_table_generator.py" # Code/Test not being used or not shared code for any other tests
9798
}
9899

99100
# Explanation for excluded files:

0 commit comments

Comments
 (0)
Please sign in to comment.