Skip to content

Authenticate before the doctor Eufy-cloud check#40

Merged
sturimcode merged 1 commit into
mainfrom
fix-doctor-cloud-auth
Jul 3, 2026
Merged

Authenticate before the doctor Eufy-cloud check#40
sturimcode merged 1 commit into
mainfrom
fix-doctor-cloud-auth

Conversation

@sturimcode

Copy link
Copy Markdown
Owner

Live run of eufy-sync --doctor showed a spurious FAIL eufy cloud - Must authenticate before fetching measurements: the check called fetch_measurements without authenticate() first, which the mocked test could not catch. Added the auth call and a test that pins the call order past the mock.

🤖 Generated with Claude Code

The check called fetch_measurements without authenticate() first; the real
EufyClient raises "Must authenticate before fetching measurements", so a
healthy setup showed a spurious FAIL (the mocked test hid the required call
order). Added authenticate() and a test that pins the order past the mock.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@sturimcode
sturimcode merged commit 7200b65 into main Jul 3, 2026
4 checks passed
@sturimcode
sturimcode deleted the fix-doctor-cloud-auth branch July 3, 2026 13:40
@sturimcode sturimcode mentioned this pull request Jul 3, 2026
sturimcode added a commit that referenced this pull request Jul 3, 2026
Ships the credential vault + file-storage mode (#41) and the doctor
Eufy-cloud-auth fix (#40).

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
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