electiondata
electiondata copied to clipboard
mixing by-vote-type and total-only in one election breaks testing
E.g., Arizona 2020 Primary. The Presidential file has only total votes; the all-other-contests-primary file has results by vote type. Calling aggregate_results() ignores totals (because there are other vote types present). So presidential contest is not included in roll-up, and test for presidential results fails even though the presidential results are in the db.
Note that #444 does not fully address this, as the presidential will be missing the separate vote types.