File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -104,12 +104,9 @@ async def test_TC_CGEN_2_4(self):
104
104
logging .info ('Step 16 - TH2 fully commissions the DUT' )
105
105
self .th2 .ResetTestCommissioner ()
106
106
107
- ctx = asserts .assert_raises (ChipStackError )
108
- with ctx :
109
- self .th2 .CommissionOnNetwork (
110
- nodeId = self .dut_node_id , setupPinCode = params .setupPinCode ,
111
- filterType = ChipDeviceCtrl .DiscoveryFilterType .LONG_DISCRIMINATOR , filter = self .discriminator )
112
- asserts .assert_true (ctx .exception .chip_error .sdk_code == 0x02 , 'Unexpected error code returned from CommissioningComplete' )
107
+ self .th2 .CommissionOnNetwork (
108
+ nodeId = self .dut_node_id , setupPinCode = params .setupPinCode ,
109
+ filterType = ChipDeviceCtrl .DiscoveryFilterType .LONG_DISCRIMINATOR , filter = self .discriminator )
113
110
logging .info ('Commissioning complete done.' )
114
111
115
112
logging .info ('Step 17 - TH1 sends an arm failsafe' )
You can’t perform that action at this time.
0 commit comments