Skip to content

Commit 3bd4b45

Browse files
committed
Add warning on force endpoint
1 parent b962034 commit 3bd4b45

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/python_testing/matter_testing_support.py

+10
Original file line numberDiff line numberDiff line change
@@ -1870,6 +1870,16 @@ async def get_accepted_endpoints_for_test(self: MatterBaseTest, accept_function:
18701870
return matching
18711871

18721872
asserts.assert_in(forced_endpoint, matching, "Force endpoint does not match test requirements")
1873+
1874+
warning = """
1875+
--------------------------------------------------------------------------------
1876+
| Warning: Using a forced single endpoint on a test that is intended to be run |
1877+
| on each matching endpoint. This is a development-only option. |
1878+
| |
1879+
| Use of this option is disallowed at certification |
1880+
--------------------------------------------------------------------------------
1881+
"""
1882+
logging.warn(warning)
18731883
return [forced_endpoint]
18741884

18751885

0 commit comments

Comments
 (0)