diff --git a/tests/unit/test_message_handler.py b/tests/unit/test_message_handler.py index a24753b..6e4871f 100644 --- a/tests/unit/test_message_handler.py +++ b/tests/unit/test_message_handler.py @@ -587,6 +587,7 @@ def test_given_info_not_updated_when_handle_min_date_then_update_centres_called( assert "*06/03/2021*:\n- hosp1\n- hosp2" in answer assert "*09/05/2021*:\n- hosp3\n- hosp4" in answer + assert "Actualizado hace 0 minutos" in answer @freeze_time("2021-06-22 18:20:00") @@ -606,6 +607,7 @@ def test_given_info_updated_when_handle_min_date_then_update_centres_not_called( assert "*06/03/2021*:\n- hosp1\n- hosp2" in answer assert "*09/05/2021*:\n- hosp3\n- hosp4" in answer + assert "Actualizado hace 19 minutos" in answer @freeze_time("2021-06-22")