From dd3ef56bd5b5126c2af32bbf6b4d34b598ce1be7 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Wed, 21 Aug 2024 23:13:10 +0000 Subject: [PATCH] Restyled by autopep8 --- src/python_testing/TC_TSTAT_4_2.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/python_testing/TC_TSTAT_4_2.py b/src/python_testing/TC_TSTAT_4_2.py index 85b16e10486517..b37531d0bdb576 100644 --- a/src/python_testing/TC_TSTAT_4_2.py +++ b/src/python_testing/TC_TSTAT_4_2.py @@ -449,7 +449,7 @@ async def test_TC_TSTAT_4_2(self): if self.pics_guard(self.check_pics("TSTAT.S.F08") and self.check_pics("TSTAT.S.A0050") and self.check_pics("TSTAT.S.Cfe.Rsp")): test_presets = new_presets_with_handle.copy() test_presets.append(cluster.Structs.PresetStruct(presetHandle=NullValue, presetScenario=9, - name="Wake", coolingSetpoint=2500, heatingSetpoint=1700, builtIn=False)) + name="Wake", coolingSetpoint=2500, heatingSetpoint=1700, builtIn=False)) # Send the AtomicRequest begin command await self.send_atomic_request_begin_command() @@ -468,13 +468,13 @@ async def test_TC_TSTAT_4_2(self): test_presets = copy.deepcopy(new_presets_with_handle) test_presets.append(cluster.Structs.PresetStruct(presetHandle=NullValue, presetScenario=cluster.Enums.PresetScenarioEnum.kWake, - name="Wake", coolingSetpoint=2500, heatingSetpoint=1700, builtIn=False)) + name="Wake", coolingSetpoint=2500, heatingSetpoint=1700, builtIn=False)) test_presets.append(cluster.Structs.PresetStruct(presetHandle=NullValue, presetScenario=cluster.Enums.PresetScenarioEnum.kVacation, - name="Vacation", coolingSetpoint=2400, heatingSetpoint=1800, builtIn=False)) + name="Vacation", coolingSetpoint=2400, heatingSetpoint=1800, builtIn=False)) test_presets.append(cluster.Structs.PresetStruct(presetHandle=NullValue, presetScenario=cluster.Enums.PresetScenarioEnum.kGoingToSleep, - name="GoingToSleep", coolingSetpoint=2300, heatingSetpoint=1900, builtIn=False)) + name="GoingToSleep", coolingSetpoint=2300, heatingSetpoint=1900, builtIn=False)) test_presets.append(cluster.Structs.PresetStruct(presetHandle=NullValue, presetScenario=cluster.Enums.PresetScenarioEnum.kUserDefined, - name="UserDefined", coolingSetpoint=2300, heatingSetpoint=1900, builtIn=False)) + name="UserDefined", coolingSetpoint=2300, heatingSetpoint=1900, builtIn=False)) # Send the AtomicRequest begin command await self.send_atomic_request_begin_command() @@ -484,5 +484,6 @@ async def test_TC_TSTAT_4_2(self): # Send the AtomicRequest commit command and expect ResourceExhausted for presets. await self.send_atomic_request_commit_command(expected_overall_status=Status.Failure, expected_preset_status=Status.ResourceExhausted) + if __name__ == "__main__": default_matter_test_main()