def test_convert_month_year_to_date_wrong_month():
    test_data = ('13', '1975')
    with pytest.raises(ValidationError):
        result = convert_month_year_to_date(*test_data)
def test_convert_month_year_to_date():
    test_data = ('0', '1975')
    result = convert_month_year_to_date(*test_data)
    assert result == datetime.date(1975, 1, 31)