We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcaa7b3 commit 66477f7Copy full SHA for 66477f7
1 file changed
tests/test_dataset.py
@@ -138,9 +138,13 @@ def test_dataset_load_with_multi_nonpartition_filters_success(fixed_local_datase
138
139
def test_dataset_load_current_records_all_sources_success(dataset_with_runs_location):
140
timdex_dataset = TIMDEXDataset(dataset_with_runs_location)
141
- timdex_dataset.load(current_records=True)
142
143
- # 14 total parquet files, only 12 related to current runs
+ # 16 total parquet files, with current_records=False we get them all
+ timdex_dataset.load(current_records=False)
144
+ assert len(timdex_dataset.dataset.files) == 16
145
+
146
+ # 16 total parquet files, with current_records=True we only get 12 for current runs
147
+ timdex_dataset.load(current_records=True)
148
assert len(timdex_dataset.dataset.files) == 12
149
150
0 commit comments