Skip to content

Commit 4a35fc2

Browse files
committed
move assignment inside __main__
1 parent c9e063d commit 4a35fc2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/python_testing/TC_CADMIN_1_3_4.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -345,8 +345,7 @@ async def test_TC_CADMIN_1_4(self):
345345
await self.combined_commission_val_steps(commission_type="BCM")
346346

347347

348-
global __test_class__
349-
__test_class__ = TC_CADMIN
350-
351348
if __name__ == "__main__":
349+
# This makes the test class discoverable by the test runner
350+
__test_class__ = TC_CADMIN
352351
default_matter_test_main()

0 commit comments

Comments
 (0)