Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jdgsmallwood committed Jul 10, 2024
1 parent 22b6286 commit 17e2217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test_lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def test_handler_uv_above_threshold(mocker):

handler({}, {})

mock_send_message.assert_called_once_with("UV is 4.0 > 3.0 - be sunsmart!")
mock_send_message.assert_called_once_with("UV is 4.0 > 3.0 - be sunsmart! UV observations courtesy of ARPANSA.")


def test_handler_uv_below_threshold(mocker):
Expand All @@ -38,7 +38,7 @@ def test_handler_uv_below_threshold(mocker):

handler({}, {})

mock_send_message.assert_called_once_with("UV is safe in Melbourne right now.")
mock_send_message.assert_called_once_with("UV is safe in Melbourne right now. UV observations courtesy of ARPANSA.")


def test_handler_invalid_uv_value(mocker):
Expand Down

0 comments on commit 17e2217

Please sign in to comment.