Skip to content

Commit be7dc69

Browse files
committed
Remove unused asserts
1 parent 55c7079 commit be7dc69

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/test_smile.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3924,14 +3924,13 @@ async def test_connect_anna_heatpump_cooling(self):
39243924
assert smile._cooling_active
39253925

39263926
with pytest.raises(pw_exceptions.PlugwiseError):
3927-
result = await self.tinker_thermostat(
3927+
await self.tinker_thermostat(
39283928
smile,
39293929
"c784ee9fdab44e1395b8dee7d7a497d5",
39303930
good_schedules=[
39313931
"standaard",
39323932
],
39333933
)
3934-
assert result
39353934

39363935
await smile.close_connection()
39373936
await self.disconnect(server, client)
@@ -4373,14 +4372,13 @@ async def test_connect_anna_loria_heating_idle(self):
43734372
assert switch_change
43744373

43754374
with pytest.raises(pw_exceptions.PlugwiseError):
4376-
result = await self.tinker_thermostat(
4375+
await self.tinker_thermostat(
43774376
smile,
43784377
"15da035090b847e7a21f93e08c015ebc",
43794378
good_schedules=[
43804379
"Winter",
43814380
],
43824381
)
4383-
assert result
43844382

43854383
await self.tinker_dhw_mode(smile)
43864384

0 commit comments

Comments
 (0)