From 5c0bfd98b78810a433d63ed2b53a3ee51d4100b6 Mon Sep 17 00:00:00 2001 From: Jarrett Johnson Date: Mon, 10 Jun 2024 20:28:18 -0400 Subject: [PATCH] Add conftest to tests/api to reinitialize --- testing/tests/api/conftest.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 testing/tests/api/conftest.py diff --git a/testing/tests/api/conftest.py b/testing/tests/api/conftest.py new file mode 100644 index 000000000..d4ba7f618 --- /dev/null +++ b/testing/tests/api/conftest.py @@ -0,0 +1,9 @@ +import pytest + +from pymol import cmd + + +@pytest.fixture(autouse=True) +def setup(): + cmd.reinitialize() + yield