Skip to content

Commit 2c4b014

Browse files
restyled-commitsarkq
authored andcommitted
Restyled by autopep8
1 parent 78c6bfb commit 2c4b014

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/python_testing/TC_TSTAT_4_2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ async def test_TC_TSTAT_4_2(self):
714714
ScenarioHeadroom = namedtuple("ScenarioHeadroom", "presetScenario remaining")
715715
# Generate list of tuples of scenarios and number of remaining presets per scenario allowed
716716
presetScenarioHeadrooms = [ScenarioHeadroom(presetType.presetScenario,
717-
presetType.numberOfPresets - presetScenarioCounts.get(presetType.presetScenario, 0)) for presetType in presetTypes]
717+
presetType.numberOfPresets - presetScenarioCounts.get(presetType.presetScenario, 0)) for presetType in presetTypes]
718718

719719
if presetScenarioHeadrooms:
720720
# Find the preset scenario with the smallest number of remaining allowed presets

src/python_testing/TC_TSTAT_4_3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def steps_TC_TSTAT_4_3(self) -> list[TestStep]:
132132

133133
return steps
134134

135-
@ async_test_body
135+
@async_test_body
136136
async def test_TC_TSTAT_4_3(self):
137137
endpoint = self.get_endpoint()
138138

src/python_testing/test_testing/TestSpecParsingDeviceType.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,9 +554,9 @@ def test_superset_parsing_released_spec(self):
554554
supersets = get_supersets(self.xml_device_types)
555555

556556
expected_light_superset = {self.dt_ids['extendedcolorlight'],
557-
self.dt_ids['colortemperaturelight'], self.dt_ids['dimmablelight'], self.dt_ids['onofflight']}
557+
self.dt_ids['colortemperaturelight'], self.dt_ids['dimmablelight'], self.dt_ids['onofflight']}
558558
expected_dimmer_switch = {self.dt_ids['colordimmerswitch'],
559-
self.dt_ids['dimmerswitch'], self.dt_ids['onofflightswitch']}
559+
self.dt_ids['dimmerswitch'], self.dt_ids['onofflightswitch']}
560560

561561
asserts.assert_in(expected_light_superset, supersets, "Did not find expected light superset")
562562
asserts.assert_in(expected_dimmer_switch, supersets, "Did not find expected switch superset")
@@ -569,9 +569,9 @@ def test_superset_parsing_mounted(self):
569569
expected_onoff_plugin = {self.dt_ids['mountedonoffcontrol'], self.dt_ids['onoffpluginunit']}
570570
expected_dimmable_plugin = {self.dt_ids['mounteddimmableloadcontrol'], self.dt_ids['dimmablepluginunit']}
571571
expected_light_superset = {self.dt_ids['extendedcolorlight'],
572-
self.dt_ids['colortemperaturelight'], self.dt_ids['dimmablelight'], self.dt_ids['onofflight']}
572+
self.dt_ids['colortemperaturelight'], self.dt_ids['dimmablelight'], self.dt_ids['onofflight']}
573573
expected_dimmer_switch = {self.dt_ids['colordimmerswitch'],
574-
self.dt_ids['dimmerswitch'], self.dt_ids['onofflightswitch']}
574+
self.dt_ids['dimmerswitch'], self.dt_ids['onofflightswitch']}
575575

576576
asserts.assert_in(expected_light_superset, supersets, "Did not find expected light superset")
577577
asserts.assert_in(expected_dimmer_switch, supersets, "Did not find expected switch superset")

src/python_testing/test_testing/TestSpecParsingSupport.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def test_build_xml_override(self):
309309
one_four_removed, "There are some 1.3 clusters that are unexpectedly not included in the 1.4 spec")
310310
# Ballast and all the proxy clusters are being removed in 1.4.2
311311
one_four_two_removed = {Clusters.BallastConfiguration.id, Clusters.ProxyConfiguration.id,
312-
Clusters.ProxyDiscovery.id, Clusters.ProxyValid.id}
312+
Clusters.ProxyDiscovery.id, Clusters.ProxyValid.id}
313313
asserts.assert_equal(set(one_four_clusters.keys())-set(one_four_two_xml_clusters.keys()),
314314
one_four_two_removed, "There are some 1.4 clusters that are unexpectedly not included in the 1.4.2 spec")
315315
asserts.assert_equal(set(one_three_clusters.keys())-set(one_four_two_xml_clusters.keys()),

0 commit comments

Comments
 (0)