We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b635df commit b248180Copy full SHA for b248180
1 file changed
tests/domain/models/data/test_data_source.py
@@ -348,7 +348,14 @@ def test_data_source_is_dataclass(self):
348
"storage_path",
349
"date",
350
"identifier",
351
- "warmup_window"
+ "warmup_window",
352
+ "url",
353
+ "date_column",
354
+ "date_format",
355
+ "cache",
356
+ "refresh_interval",
357
+ "pre_process",
358
+ "post_process"
359
]
360
361
self.assertEqual(set(field_names), set(expected_fields))
@@ -362,7 +369,7 @@ def test_data_source_field_defaults(self):
362
369
363
370
for field in fields(DataSource):
364
371
365
- if field.name in ["save", "pandas"]:
372
+ if field.name in ["save", "pandas", "cache"]:
366
373
# These fields are expected to have a default value
367
374
self.assertIsNotNone(field.default)
368
375
else:
0 commit comments