Skip to content

Commit

Permalink
fix test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
CFenner committed Dec 23, 2024
1 parent 87896d5 commit 676bf2a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/test_VitoairFs300E.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def test_getVentilationModes(self):

def test_getVentilationMode(self):
self.assertEqual(False, self.device.getVentilationMode("filterChange"))

def test_ventilationQuickmode(self):
self.assertEqual(self.device.getVentilationQuickmode("forcedLevelFour"), False)
self.assertEqual(self.device.getVentilationQuickmode("silent"), False)
Expand Down
4 changes: 2 additions & 2 deletions tests/test_Vitopure350.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ def test_ventilationQuickmodes(self):
"silent",
])

def test_activateComfort(self):
def test_activateVentilationQuickmodeStandby(self):
self.device.activateVentilationQuickmode("standby")
self.assertEqual(len(self.service.setPropertyData), 1)
self.assertEqual(self.service.setPropertyData[0]['action'], 'activate')
self.assertEqual(self.service.setPropertyData[0]['property_name'], 'ventilation.quickmodes.standby')

def test_deactivateComfort(self):
def test_deactivateVentilationQuickmodeStandby(self):
self.device.deactivateVentilationQuickmode("standby")
self.assertEqual(len(self.service.setPropertyData), 1)
self.assertEqual(self.service.setPropertyData[0]['action'], 'deactivate')
Expand Down

0 comments on commit 676bf2a

Please sign in to comment.