Skip to content

Refactor part of http files with tests#778

Merged
max246 merged 13 commits intobropat:developfrom
max246:max246/refactor-2
Feb 14, 2026
Merged

Refactor part of http files with tests#778
max246 merged 13 commits intobropat:developfrom
max246:max246/refactor-2

Conversation

@max246
Copy link
Copy Markdown
Collaborator

@max246 max246 commented Feb 7, 2026

PR Summary: Refactor part of HTTP files with tests (#778)

Overview:
This PR focuses on improving the stability and maintainability of the library's HTTP communication layer by refactoring core logic and introducing a robust testing suite.

Key Changes:

  • Refactoring: Modularized the HTTP-related source files to improve code readability and structure.
  • Unit Testing: Added comprehensive tests for HTTP components to ensure reliable communication with Eufy's backend and prevent future regressions.
  • Code Quality: Cleaned up internal logic and applied consistent coding standards across the modified files.

Impact:

  • Stability: Higher confidence in the API client's behavior due to new test coverage.
  • Maintainability: Easier for contributors to understand and extend the HTTP module.

@max246 max246 self-assigned this Feb 14, 2026
@max246 max246 merged commit 4c75c53 into bropat:develop Feb 14, 2026
2 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.

1 participant