Commit 2455ee4
authored
[Python] Fix build without host unit test (project-chip#42034)
Since project-chip#41066 build without host unit test fails with:
```
../src/controller/python/matter/clusters/attribute.cpp:454:22: error: 'TestOnlyOverrideTimedRequestFieldTag' is not a member of 'chip::app::WriteClient'
454 | WriteClient::TestOnlyOverrideTimedRequestFieldTag{});
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```
Apply the common pattern where we return not implemented in case we build the
Matter SDK without `CONFIG_BUILD_FOR_HOST_UNIT_TEST` flag.1 parent dc11cf1 commit 2455ee4
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
436 | 436 | | |
437 | 437 | | |
438 | 438 | | |
| 439 | + | |
439 | 440 | | |
440 | 441 | | |
441 | 442 | | |
| |||
472 | 473 | | |
473 | 474 | | |
474 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
475 | 479 | | |
476 | 480 | | |
477 | 481 | | |
| |||
0 commit comments