"Contest," as used in §§ 12-22-1 to 12-22-28, inclusive, shall mean a legal proceeding, other than a recount, instituted to challenge the determination of any election under the provisions of this title, or any municipal, school, or township election.
SDCL 12-22-1