mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-02-23 01:54:18 -08:00
tests
This commit is contained in:
parent
1db2362426
commit
38304f846f
2 changed files with 0 additions and 5 deletions
|
@ -128,7 +128,6 @@ class TestETL:
|
|||
# Also make sure all parameters that need to be non-null are non-null
|
||||
assert etl.NAME is not None
|
||||
assert etl.LAST_UPDATED_YEAR is not None
|
||||
assert etl.SOURCE_URL is not None
|
||||
assert etl.GEO_LEVEL is not None
|
||||
assert etl.COLUMNS_TO_KEEP is not None
|
||||
assert len(etl.COLUMNS_TO_KEEP) > 0
|
||||
|
|
|
@ -88,10 +88,6 @@ class TestNationalRiskIndexETL(TestETL):
|
|||
assert etl.GEOID_TRACT_FIELD_NAME == "GEOID10_TRACT"
|
||||
assert etl.NAME == "national_risk_index"
|
||||
assert etl.LAST_UPDATED_YEAR == 2020
|
||||
assert (
|
||||
etl.SOURCE_URL
|
||||
== "https://hazards.fema.gov/nri/Content/StaticDocuments/DataDownload//NRI_Table_CensusTracts/NRI_Table_CensusTracts.zip"
|
||||
)
|
||||
assert etl.GEO_LEVEL == ValidGeoLevel.CENSUS_TRACT
|
||||
assert etl.COLUMNS_TO_KEEP == [
|
||||
etl.GEOID_TRACT_FIELD_NAME,
|
||||
|
|
Loading…
Add table
Reference in a new issue