Skip to content

Use centralized is_test_mode() from PyAutoFit#419

Merged
Jammy2211 merged 1 commit intomainfrom
feature/test-mode-bypass
Apr 6, 2026
Merged

Use centralized is_test_mode() from PyAutoFit#419
Jammy2211 merged 1 commit intomainfrom
feature/test-mode-bypass

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Replace direct os.environ.get("PYAUTOFIT_TEST_MODE") checks with the shared is_test_mode() helper from PyAutoFit's new test_mode module, for consistency across the stack.

Part of PyAutoLabs/PyAutoFit#1179.

API Changes

None — internal changes only.

Test Plan

  • PyAutoLens unit tests: 286 passed

🤖 Generated with Claude Code

Replace direct os.environ PYAUTOFIT_TEST_MODE checks with the shared
is_test_mode() helper for consistency across the stack.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Jammy2211 Jammy2211 merged commit fbb8af5 into main Apr 6, 2026
1 of 2 checks passed
@Jammy2211 Jammy2211 deleted the feature/test-mode-bypass branch April 6, 2026 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant