From 1fe20fa4d6ca19faebca39682f5364c7ad7f8ebf Mon Sep 17 00:00:00 2001 From: "Juan M. Cruz-Martinez" Date: Sat, 9 Mar 2024 13:58:59 +0100 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Roy Stegeman --- validphys2/src/validphys/tests/test_datafiles.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/validphys2/src/validphys/tests/test_datafiles.py b/validphys2/src/validphys/tests/test_datafiles.py index e0c51c6186..05b3246a89 100644 --- a/validphys2/src/validphys/tests/test_datafiles.py +++ b/validphys2/src/validphys/tests/test_datafiles.py @@ -1,7 +1,8 @@ """ Test all datafiles - All tests are under ``test_all_datasets`` ran with all datasets so that one gets one failure per dataset in case of problems + The checks in ``test_all_datasets`` are run for each dataset independently so that one gets one + failure per dataset in case of problems """ import pytest @@ -15,7 +16,7 @@ def _load_main_and_variants(dataset_name): - """Given a dataset name, returns a list with the default load and all variants""" + """Given a dataset name, returns a list with the default data and all variants""" cds = [l.check_commondata(dataset_name)] for variant_name in cds[0].metadata.variants: cds.append(l.check_commondata(dataset_name, variant=variant_name))