Issue 1831: missing life expectancy data from Maine and Wisconsin (#1887)

* Fixing missing states and adding tests for states to all classes
This commit is contained in:
Lucas Merrill Brown 2022-09-09 20:35:01 -04:00 committed by GitHub
commit 6e9c44ea72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 522 additions and 187 deletions

View file

@ -65,7 +65,7 @@ class TestAbandondedLandMineETL(TestETL):
initiliazed correctly.
"""
# setup
etl = self._ETL_CLASS()
etl = self._get_instance_of_etl_class()
# validation
assert etl.GEOID_FIELD_NAME == "GEOID10"
assert etl.GEOID_TRACT_FIELD_NAME == "GEOID10_TRACT"
@ -78,7 +78,7 @@ class TestAbandondedLandMineETL(TestETL):
def test_get_output_file_path(self, mock_etl, mock_paths):
"""Tests the right file name is returned."""
etl = self._ETL_CLASS()
etl = self._get_instance_of_etl_class()
data_path, tmp_path = mock_paths
output_file_path = etl._get_output_file_path()