We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5dc5887 commit 1bd1cb7Copy full SHA for 1bd1cb7
doc/changelog.d/6834.test.md
@@ -0,0 +1 @@
1
+Add settings for local testing
tests/conftest.py
@@ -95,6 +95,12 @@
95
# Add current path to sys.path for imports
96
sys.path.append(str(local_path))
97
98
+# NOTE: Additional environment configuration for error handling when the tests are
99
+# run locally and not in a CI environment.
100
+if "PYAEDT_LOCAL_SETTINGS_PATH" not in os.environ:
101
+ settings.enable_error_handler = False
102
+ settings.release_on_exception = False
103
+
104
105
def generate_random_string(length):
106
"""Generate a random string of specified length."""
0 commit comments