Legislative election contests must be determined in court as provided in this chapter for other contests. No legislative election may be contested before either house of the legislative assembly.