Skip to content

Use centralized is_test_mode() from PyAutoFit#320

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

Use centralized is_test_mode() from PyAutoFit#320
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") check with the shared is_test_mode() helper from PyAutoFit's new test_mode module, for consistency across the stack.

Part of rhayes777/PyAutoFit#1179.

API Changes

None — internal changes only.

Test Plan

  • PyAutoGalaxy unit tests: 852 passed

🤖 Generated with Claude Code

Replace direct os.environ PYAUTOFIT_TEST_MODE check 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 0ee48a3 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