@@ -697,7 +697,7 @@ async def test_connect_legacy_anna(self):
697697 ],
698698 unhappy = True ,
699699 )
700- assert result
700+ assert not result
701701 await smile .close_connection ()
702702 await self .disconnect (server , client )
703703
@@ -787,7 +787,7 @@ async def test_connect_legacy_anna_2(self):
787787 ],
788788 unhappy = True ,
789789 )
790- assert result
790+ assert not result
791791 await smile .close_connection ()
792792 await self .disconnect (server , client )
793793
@@ -967,7 +967,7 @@ async def test_connect_anna_v4(self):
967967 good_schedules = ["Standaard" , "Thuiswerken" ],
968968 unhappy = True ,
969969 )
970- assert result
970+ assert not result
971971 await smile .close_connection ()
972972 await self .disconnect (server , client )
973973
@@ -1063,7 +1063,7 @@ async def test_connect_anna_v4_dhw(self):
10631063 schedule_on = False ,
10641064 unhappy = True ,
10651065 )
1066- assert result
1066+ assert not result
10671067 await smile .close_connection ()
10681068 await self .disconnect (server , client )
10691069
@@ -1108,7 +1108,7 @@ async def test_connect_anna_v4_no_tag(self):
11081108 good_schedules = ["Standaard" , "Thuiswerken" ],
11091109 unhappy = True ,
11101110 )
1111- assert result
1111+ assert not result
11121112 await smile .close_connection ()
11131113 await self .disconnect (server , client )
11141114
@@ -1186,7 +1186,7 @@ async def test_connect_anna_without_boiler_fw3(self):
11861186 good_schedules = ["Test" , "Normal" ],
11871187 unhappy = True ,
11881188 )
1189- assert result
1189+ assert not result
11901190 await smile .close_connection ()
11911191 await self .disconnect (server , client )
11921192
@@ -1264,7 +1264,7 @@ async def test_connect_anna_without_boiler_fw4(self):
12641264 good_schedules = ["Test" , "Normal" ],
12651265 unhappy = True ,
12661266 )
1267- assert result
1267+ assert not result
12681268 await smile .close_connection ()
12691269 await self .disconnect (server , client )
12701270
@@ -1342,7 +1342,7 @@ async def test_connect_anna_without_boiler_fw42(self):
13421342 good_schedules = ["Normal" ],
13431343 unhappy = True ,
13441344 )
1345- assert result
1345+ assert not result
13461346 await smile .close_connection ()
13471347 await self .disconnect (server , client )
13481348
@@ -1470,7 +1470,7 @@ async def test_connect_adam_plus_anna(self):
14701470 good_schedules = ["Weekschema" ],
14711471 unhappy = True ,
14721472 )
1473- assert result
1473+ assert not result
14741474 switch_change = await self .tinker_switch (
14751475 smile , "aa6b0002df0a46e1b1eb94beb61eddfe" , unhappy = True
14761476 )
@@ -2121,7 +2121,7 @@ async def test_connect_adam_zone_per_device(self):
21212121 good_schedules = ["CV Jessie" ],
21222122 unhappy = True ,
21232123 )
2124- assert result
2124+ assert not result
21252125
21262126 try :
21272127 await smile .delete_notification ()
@@ -2543,7 +2543,7 @@ async def test_connect_adam_multiple_devices_per_zone(self):
25432543 good_schedules = ["CV Jessie" ],
25442544 unhappy = True ,
25452545 )
2546- assert result
2546+ assert not result
25472547
25482548 await smile .close_connection ()
25492549 await self .disconnect (server , client )
0 commit comments