def test_AlertDate_properties():
    sample_datetime = dt_parse('2021-03-02T10:30:00Z')
    alerts_date = AlertDate(sample_datetime)
    assert (alerts_date.as_lang == 'at 10:30am on Tuesday 2 March 2021')
    assert (alerts_date.as_iso8601 == '2021-03-02T10:30:00+00:00')
    assert (alerts_date.as_utc_datetime == dt_parse('2021-03-02T10:30:00Z'))
    assert (alerts_date.as_local_datetime == dt_parse('2021-03-02T10:30:00Z'))
    assert (alerts_date.as_url == '2-mar-2021')
def test_AlertDate_properties():
    sample_datetime = dt_parse('2021-03-02T10:30:00Z')
    alerts_date = AlertDate(sample_datetime)
    assert (alerts_date.as_lang == 'at 10:30am on Tuesday 2 March 2021')
    assert (alerts_date.as_iso8601 == '2021-03-02T10:30:00+00:00')
    assert (alerts_date.as_utc_datetime == dt_parse('2021-03-02T10:30:00Z'))
    assert (alerts_date.as_local_datetime == dt_parse('2021-03-02T10:30:00Z'))
    assert (alerts_date.as_url == '2-mar-2021')