Skip to content

Commit ac2dfa7

Browse files
committed
Remove xfail and test current behaviour
1 parent 097bb9e commit ac2dfa7

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/dataset/test_export_datasets_and_create_metadata_db.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,6 @@ def test_export_datasets_preserve_experiment_structure(
172172
# TODO: assert netcdf files, and result statuses
173173

174174

175-
@pytest.mark.xfail(
176-
run=True,
177-
reason="For incomplete datasets, this should not fail but either succeed or copy as is",
178-
)
179175
def test_export_datasets_with_incomplete_dataset(
180176
tmp_path: "Path", request: pytest.FixtureRequest
181177
) -> None:
@@ -226,7 +222,7 @@ def test_export_datasets_with_incomplete_dataset(
226222

227223
# Incomplete dataset should be copied as-is
228224
assert result[dataset1.run_id] == "exported"
229-
assert result[dataset2.run_id] == "failed"
225+
assert result[dataset2.run_id] == "exported"
230226

231227

232228
def test_export_datasets_empty_database(tmp_path: "Path") -> None:

0 commit comments

Comments
 (0)