Skip to content

Commit 571d283

Browse files
committed
redo reload modules after test
OPS#1065 isn't in releases yet
1 parent 454ff28 commit 571d283

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎paths_cli/tests/commands/test_compile.py‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,10 @@ def test_compile(ad_openmm, test_data_dir):
9999
from openpathsampling.experimental.storage.monkey_patches import unpatch
100100
paths = unpatch(paths)
101101
paths.InterfaceSet.simstore = False
102+
# TODO: this lines won't be necessary once OPS releases contain
103+
# openpathsampling/openpathsampling#1065
104+
import importlib
105+
importlib.reload(paths.netcdfplus)
106+
importlib.reload(paths.collectivevariable)
107+
importlib.reload(paths.collectivevariables)
108+
importlib.reload(paths)

0 commit comments

Comments
 (0)