From 44e83d162a533ca1b897b9c7a9d0e9440f25258d Mon Sep 17 00:00:00 2001 From: Lester Hedges Date: Thu, 4 Jul 2024 10:47:42 +0100 Subject: [PATCH] Add missing skipif decorator. --- tests/Sandpit/Exscientia/Process/test_gromacs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Sandpit/Exscientia/Process/test_gromacs.py b/tests/Sandpit/Exscientia/Process/test_gromacs.py index 141783b2..70250a84 100644 --- a/tests/Sandpit/Exscientia/Process/test_gromacs.py +++ b/tests/Sandpit/Exscientia/Process/test_gromacs.py @@ -450,6 +450,10 @@ def test_selective(perturbable_system, filename, u_nk, dHdl): assert not (Path(process.workDir()) / "dHdl.parquet").exists() +@pytest.mark.skipif( + has_gromacs is False or has_pyarrow is False, + reason="Requires GROMACS and pyarrow to be installed.", +) def test_error_saveMetric(perturbable_system): protocol = BSS.Protocol.FreeEnergy() process = BSS.Process.Gromacs(perturbable_system, protocol)