Source code for schrodinger.test.fixtures
"""
Test fixtures
Copyright Schrodinger, LLC. All rights reserved.
"""
from contextlib import contextmanager
from schrodinger.test import decorate_fflag
[docs]@contextmanager
def use_static_opls_directory():
"""
Sets OPLS_DIR to static data directory used in testing
"""
with decorate_fflag.enable_feature_flag("OPLS_STATIC_PARAMETERS"):
yield