@pytest.mark.parametrize('hour, minute, expected_lang', (('00', '00', 'at midnight on Sunday 21 March 2021'), ('12', '00', 'at midday on Sunday 21 March 2021'), ('23', '59', 'at 11:59pm on Sunday 21 March 2021')))
def test_AlertDate_at_midday_and_midnight(hour, minute, expected_lang):
    sample_datetime = dt_parse(f'2021-03-21T{hour}:{minute}:00Z')
    alerts_date = AlertDate(sample_datetime)
    assert (alerts_date.as_lang == expected_lang)
@pytest.mark.parametrize('hour, minute, expected_lang', (('00', '00', 'at midnight on Sunday 21 March 2021'), ('12', '00', 'at midday on Sunday 21 March 2021'), ('23', '59', 'at 11:59pm on Sunday 21 March 2021')))
def test_AlertDate_at_midday_and_midnight(hour, minute, expected_lang):
    sample_datetime = dt_parse(f'2021-03-21T{hour}:{minute}:00Z')
    alerts_date = AlertDate(sample_datetime)
    assert (alerts_date.as_lang == expected_lang)