@@ -62,7 +62,6 @@ def fixed_local_dataset(tmp_path) -> TIMDEXDataset:
6262 timdex_dataset .write (
6363 generate_sample_records (
6464 num_records = 1_000 ,
65- timdex_record_id_prefix = source ,
6665 source = source ,
6766 run_date = "2024-12-01" ,
6867 run_id = run_id ,
@@ -82,19 +81,6 @@ def _records_iter(num_records):
8281 return _records_iter
8382
8483
85- @pytest .fixture
86- def sample_records_iter_without_partitions ():
87- """Simulates an iterator of X number of DatasetRecord instances WITHOUT partition
88- values included."""
89-
90- def _records_iter (num_records ):
91- return generate_sample_records (
92- num_records , run_date = "invalid run-date" , year = None , month = None , day = None
93- )
94-
95- return _records_iter
96-
97-
9884@pytest .fixture
9985def dataset_with_runs_location (tmp_path ) -> str :
10086 """Fixture to simulate a dataset with multiple full and daily ETL runs."""
@@ -139,7 +125,6 @@ def dataset_with_runs_location(tmp_path) -> str:
139125 num_records , source , run_date , run_type , action , run_id = params
140126 records = generate_sample_records (
141127 num_records ,
142- timdex_record_id_prefix = source ,
143128 source = source ,
144129 run_date = run_date ,
145130 run_type = run_type ,
@@ -195,7 +180,6 @@ def dataset_with_same_day_runs(tmp_path) -> TIMDEXDataset:
195180 num_records , source , run_date , run_type , action , run_id , run_timestamp = params
196181 records = generate_sample_records (
197182 num_records ,
198- timdex_record_id_prefix = source ,
199183 source = source ,
200184 run_date = run_date ,
201185 run_type = run_type ,
0 commit comments