-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix incorrect initializing of CATs in matter python tests #22114
Labels
Comments
Justification for 1.0 inclusion:
|
mrjerryjohns
added a commit
to mrjerryjohns/connectedhomeip
that referenced
this issue
Aug 23, 2022
This fixes the default initialization of the `controller_cat_tags` field in `MatterTestingSupport` class to correctly be initialized to an empty list, since that is what is expected by FabricAdmin.NewController (and others). Testing: Repro'ed the failure described in project-chip#22114, and then confirmed this fixes it.
V1 review: acceptable to have changes for this in master for v1, since it blocks/affects cert. |
woody-apple
pushed a commit
that referenced
this issue
Aug 25, 2022
…22116) This fixes the default initialization of the `controller_cat_tags` field in `MatterTestingSupport` class to correctly be initialized to an empty list, since that is what is expected by FabricAdmin.NewController (and others). Testing: Repro'ed the failure described in #22114, and then confirmed this fixes it.
Seems fixed by #22116. Closing. |
isiu-apple
pushed a commit
to isiu-apple/connectedhomeip
that referenced
this issue
Sep 16, 2022
…roject-chip#22116) This fixes the default initialization of the `controller_cat_tags` field in `MatterTestingSupport` class to correctly be initialized to an empty list, since that is what is expected by FabricAdmin.NewController (and others). Testing: Repro'ed the failure described in project-chip#22114, and then confirmed this fixes it.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
With the exception of
TC_RR_1_1.py
that passes a specific value forcontroller_cat_tags
todefault_matter_test_main
, the others don't.This results in
MatterTestConfig.controller_cat_tags
having a default value ofNone
. This gets passed intoFabricAdmin.NewController
, which requires the list be non-None in value, and have an empty list if there are no CAT tags specified.That causes this execution assertion:
The text was updated successfully, but these errors were encountered: