Skip to content

Commit

Permalink
Restyled by autopep8
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and rbultman committed Jul 30, 2024
1 parent 4def2b9 commit d3e73ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/python_testing/TC_OpstateCommon.py
Original file line number Diff line number Diff line change
Expand Up @@ -1273,11 +1273,11 @@ async def TEST_TC_OPSTATE_BASE_2_6(self, endpoint=1):
asserts.assert_greater(count, 0, "Did not receive any reports for CountdownTime")

self.step(5)
#while operation not ended
# while operation not ended
count = sub_handler.attribute_report_counts[attributes.CountdownTime]
asserts.assert_less_equal(count, 5, "Received more than 5 reports for CountdownTime")
asserts.assert_greater(count, 0, "Did not receive any reports for CountdownTime")
# ensure at least one report
# ensure at least one report

sub_handler.attribute_report_counts.reset()
self.step(6)
Expand All @@ -1287,8 +1287,8 @@ async def TEST_TC_OPSTATE_BASE_2_6(self, endpoint=1):

self.step(7)
await self.read_and_expect_value(endpoint=endpoint,
attribute=attributes.OperationalState,
expected_value=cluster.Enums.OperationalStateEnum.kRunning)
attribute=attributes.OperationalState,
expected_value=cluster.Enums.OperationalStateEnum.kRunning)

sub_handler.attribute_report_counts.reset()
self.step(8)
Expand Down

0 comments on commit d3e73ff

Please sign in to comment.