Skip to content

Commit

Permalink
forgot a comma
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmacdonald80 committed May 12, 2024
1 parent 7c5d874 commit 724b9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_alarm.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def mock_log_to_journal():
def test_set_lights_on_success(mock_bridge, mock_log_to_journal):
# mock_bridge.set_light.return_value = None # Assume success doesn't return anything
set_lights(mock_bridge, True) # Test setting lights on
mock_bridge.set_light.assert_called_once_with(['Lamp', 'FarWall', 'NearWall'], TEST_LIGHT_COMMAND, TEST_TIMEZONE True)
mock_bridge.set_light.assert_called_once_with(['Lamp', 'FarWall', 'NearWall'], TEST_LIGHT_COMMAND, TEST_TIMEZONE, True)
# mock_log_to_journal.assert_called_with("Lights on at ...", level='info')
mock_log_to_journal.assert_called_with(ANY, level='info')

Expand Down

0 comments on commit 724b9fc

Please sign in to comment.