Cleanup source tests (#1912)

* Move test to base for broader coverage (#1848)

* Remove duplicate line (#1848)

* FUDS needed an extra mock (#1848)
This commit is contained in:
Matt Bowen 2022-09-23 13:20:23 -04:00 committed by GitHub
commit d8dd4cf047
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 13 deletions

View file

@ -164,9 +164,6 @@ class ExtractTransformLoad:
for field in dataset_config["load_fields"]:
cls.COLUMNS_TO_KEEP.append(field["long_name"])
setattr(cls, field["df_field_name"], field["long_name"])
# set the constants for the class
setattr(cls, field["df_field_name"], field["long_name"])
return dataset_config
# This is a classmethod so it can be used by `get_data_frame` without