feat: add globals
kwarg to app and adjust ideconfig
behavior
#4028
GitHub Actions / Test Report 3.12
failed
Jan 3, 2025 in 0s
1 tests run, 0 passed, 0 skipped, 1 failed.
Annotations
Check failure on line 27 in tests/embedding/test_globals.py
github-actions / Test Report 3.12
test_globals.tests.embedding.test_globals
collection failure
Raw output
ImportError while importing test module '/__w/pymechanical/pymechanical/tests/embedding/test_globals.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/env/lib/python3.12/site-packages/_pytest/python.py:493: in importtestmodule
mod = import_path(
/env/lib/python3.12/site-packages/_pytest/pathlib.py:587: in import_path
importlib.import_module(module_name)
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
???
<frozen importlib._bootstrap>:1360: in _find_and_load
???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
???
<frozen importlib._bootstrap>:935: in _load_unlocked
???
/env/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:184: in exec_module
exec(co, module.__dict__)
tests/embedding/test_globals.py:27: in <module>
from ansys.mechanical.core.embedding.imports import Transaction
E ImportError: cannot import name 'Transaction' from 'ansys.mechanical.core.embedding.imports' (/__w/pymechanical/pymechanical/src/ansys/mechanical/core/embedding/imports.py)
Loading