Skip to content

Cattaraugus 2020 general errors #118

@dwillis

Description

@dwillis

Looks like there may be a reversal of column headers. I'll check into it.

Traceback (most recent call last):
  File "/home/runner/work/openelections-data-ny/openelections-data-ny/data_tests/data_tests/test_data.py", line 130, in test_vote_method_totals
    self._assertTrue(data_test.passed, f"{self} [{short_path}]", short_message, full_message)
  File "/home/runner/work/openelections-data-ny/openelections-data-ny/data_tests/data_tests/test_data.py", line 34, in _assertTrue
    self.assertTrue(result, short_message)
AssertionError: False is not true : There are 166 rows where the sum of ['absentee'] is greater than 'votes':

	Headers: ['county', 'precinct', 'office', 'district', 'candidate', 'party', 'votes', 'absentee']:
	Row 50: ['Cattaraugus', 'Red House', 'Ballots Cast', '', '', '', '21', '63']
	Row 62: ['Cattaraugus', 'Allegany District 2', 'President', '', 'Joseph R. Biden', 'DEM', '57', '79']
	Row 95: ['Cattaraugus', 'Great Valley 2', 'President', '', 'Joseph R. Biden', 'DEM', '115', '116']
	Row 97: ['Cattaraugus', 'Humphrey', 'President', '', 'Joseph R. Biden', 'DEM', '62', '76']
	Row 98: ['Cattaraugus', 'Ischua', 'President', '', 'Joseph R. Biden', 'DEM', '62', '86']
	Row 99: ['Cattaraugus', 'Leon', 'President', '', 'Joseph R. Biden', 'DEM', '37', '85']
	Row 100: ['Cattaraugus', 'Little Valley', 'President', '', 'Joseph R. Biden', 'DEM', '74', '85']
	Row 103: ['Cattaraugus', 'Mansfield', 'President', '', 'Joseph R. Biden', 'DEM', '49', '62']
	Row 113: ['Cattaraugus', 'Red House', 'President', '', 'Joseph R. Biden', 'DEM', '4', '39']
	Row 114: ['Cattaraugus', 'South Valley', 'President', '', 'Joseph R. Biden', 'DEM', '50', '60']

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions