mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-03 09:44:18 -07:00
renaming geocorr to geocorr_urban
This commit is contained in:
parent
f4adf172e3
commit
f284d75098
9 changed files with 18 additions and 18 deletions
|
@ -161,7 +161,7 @@ def fuds_df():
|
|||
@pytest.fixture()
|
||||
def geocorr_urban_rural_df():
|
||||
geocorr_urban_rural_csv = (
|
||||
constants.DATA_PATH / "dataset" / "geocorr" / "usa.csv"
|
||||
constants.DATA_PATH / "dataset" / "geocorr_urban" / "usa.csv"
|
||||
)
|
||||
return pd.read_csv(
|
||||
geocorr_urban_rural_csv,
|
||||
|
|
|
@ -1,15 +1,15 @@
|
|||
import pathlib
|
||||
from data_pipeline.tests.sources.example.test_etl import TestETL
|
||||
from data_pipeline.etl.sources.geocorr.etl import GeoCorrETL
|
||||
from data_pipeline.etl.sources.geocorr_urban.etl import GeoCorrUrbanETL
|
||||
|
||||
|
||||
class TestGeoCorrETL(TestETL):
|
||||
_ETL_CLASS = GeoCorrETL
|
||||
_ETL_CLASS = GeoCorrUrbanETL
|
||||
|
||||
_SAMPLE_DATA_PATH = pathlib.Path(__file__).parents[0] / "data"
|
||||
_SAMPLE_DATA_FILE_NAME = "geocorr_urban_rural.csv"
|
||||
_SAMPLE_DATA_ZIP_FILE_NAME = "geocorr_urban_rural.csv.zip"
|
||||
_EXTRACT_TMP_FOLDER_NAME = "GeoCorrETL"
|
||||
_EXTRACT_TMP_FOLDER_NAME = "GeoCorrUrbanETL"
|
||||
|
||||
def setup_method(self, _method, filename=__file__):
|
||||
"""Invoke `setup_method` from Parent, but using the current file name.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue