From 6b917204f700dee7387bbf49260e52ca4467fd9e Mon Sep 17 00:00:00 2001 From: IAlibay Date: Sun, 29 Sep 2024 22:33:28 +0100 Subject: [PATCH] Add tmpdir call to test --- openfe/tests/protocols/test_openmm_plain_md_protocols.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openfe/tests/protocols/test_openmm_plain_md_protocols.py b/openfe/tests/protocols/test_openmm_plain_md_protocols.py index 820888158..44a7018b1 100644 --- a/openfe/tests/protocols/test_openmm_plain_md_protocols.py +++ b/openfe/tests/protocols/test_openmm_plain_md_protocols.py @@ -176,7 +176,8 @@ def test_dry_run_gaff_vacuum(benzene_vacuum_system, tmpdir): mapping=None, ) unit = list(dag.protocol_units)[0] - system = unit.run(dry=True)["debug"]["system"] + with tmpdir.as_cwd(): + system = unit.run(dry=True)["debug"]["system"] @pytest.mark.parametrize('method, backend, ref_key', [