Skip to content

Commit

Permalink
Update src/python_testing/basic_composition_support.py
Browse files Browse the repository at this point in the history
Co-authored-by: Tennessee Carmel-Veilleux <tennessee.carmelveilleux@gmail.com>
  • Loading branch information
cecille and tcarmelveilleux committed Sep 3, 2024
1 parent 34a1bd1 commit 2274320
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_testing/basic_composition_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ def ConvertValue(value) -> Any:
class BasicCompositionTests:
def get_code(self, dev_ctrl):
created_codes = []
for idx, d in enumerate(self.matter_test_config.discriminators):
created_codes.append(dev_ctrl.CreateManualCode(d, self.matter_test_config.setup_passcodes[idx]))
for idx, discriminator in enumerate(self.matter_test_config.discriminators):
created_codes.append(dev_ctrl.CreateManualCode(discriminator, self.matter_test_config.setup_passcodes[idx]))

setup_codes = self.matter_test_config.qr_code_content + self.matter_test_config.manual_code + created_codes
asserts.assert_equal(len(setup_codes), 1,
Expand Down

0 comments on commit 2274320

Please sign in to comment.