def METHOD_NAME():
    with time_machine.travel('2018-02-02'):  # a friday
        assert parse_relative_date('1 weekday') == (date.today() + timedelta(days=3))
    with time_machine.travel('2018-02-03'):  # a saturday
        assert parse_relative_date('1 weekday') == (date.today() + timedelta(days=2))
    with time_machine.travel('2018-02-04'):  # a sunday
        assert parse_relative_date('1 weekday') == (date.today() + timedelta(days=1))
    with time_machine.travel('2018-02-03'):  # a saturday
        assert parse_relative_date('1 weekday ago') == date(2018, 2, 2)
    with time_machine.travel('2018-02-04'):  # a sunday
        assert parse_relative_date('1 weekday ago') == date(2018, 2, 2)
    with time_machine.travel('2018-02-05'):  # a monday
        assert parse_relative_date('1 weekday ago') == date(2018, 2, 2)