Commit ad3b143
Fix import path in config.py to support both package and script execution
Use try/except to handle both import contexts:
- Try relative import first (for package imports like in E2E tests)
- Fall back to direct import (for scripts run from within blender_blocking/)
This fixes the ModuleNotFoundError that was preventing E2E tests
from running in CI/CD.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 19ef553 commit ad3b143
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
| |||
0 commit comments