Skip to content

Commit

Permalink
Add conftest to tests/api to reinitialize
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSJohnson committed Jun 11, 2024
1 parent 9d01072 commit 5c0bfd9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions testing/tests/api/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import pytest

from pymol import cmd


@pytest.fixture(autouse=True)
def setup():
cmd.reinitialize()
yield

0 comments on commit 5c0bfd9

Please sign in to comment.