Skip to content

Claude/analyze codebase ekb1m - #10

Merged
dronefreak merged 2 commits into
masterfrom
claude/analyze-codebase-EKB1m
Feb 4, 2026
Merged

Claude/analyze codebase ekb1m#10
dronefreak merged 2 commits into
masterfrom
claude/analyze-codebase-EKB1m

Conversation

@dronefreak

Copy link
Copy Markdown
Owner

No description provided.

dronefreak and others added 2 commits February 4, 2026 14:05
Change TelloSource.__init__ to check `Tello is None` instead of
`not TELLO_AVAILABLE`. This resolves a CI-specific failure where
the class-level @patch("src.tello_source.TELLO_AVAILABLE", True)
decorator wasn't consistently applying before the first test method
ran (test_commands_disabled_by_config, alphabetically first).

The new check works naturally with @patch("src.tello_source.Tello")
since the mock replaces Tello with a MagicMock (not None), so the
guard passes without needing a separate TELLO_AVAILABLE patch.

Removed all @patch("src.tello_source.TELLO_AVAILABLE", True)
decorators from tests that already patch Tello. Updated
test_creation_without_djitellopy to patch Tello to None instead.

https://claude.ai/code/session_012XY2M4e4QuJnMcVhA2Zicx
@dronefreak dronefreak self-assigned this Feb 4, 2026
@dronefreak
dronefreak merged commit a09080b into master Feb 4, 2026
7 of 13 checks passed
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.

2 participants