-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Home AssistantStuff that is related to home assistant and the integration of servicesStuff that is related to home assistant and the integration of servicesarea: sensorsRelated to sensor entitiesRelated to sensor entitiesgood first issueGood for newcomersGood for newcomerspythonPull requests that update Python codePull requests that update Python code
Description
🎯 Description
Add unit tests for helper functions in the custom_components/spoolman/helpers/ directory to improve code coverage.
💡 Hints
- Test files go in
tests/directory - Look at existing test files like
tests/test_sensor.pyfor patterns - Focus on
helpers/directory functions - Use pytest framework
✅ Acceptance Criteria
- Add tests for at least 2-3 helper functions
- Tests cover both success and error cases
- All tests pass:
pytest tests/ - Code coverage increases
🚀 Getting Started
- Fork the repository
- Set up development environment (see CONTRIBUTING.md)
- Look at
custom_components/spoolman/helpers/ - Create corresponding test files in
tests/ - Run tests locally
- Submit PR to
devbranch
📚 Resources
- Pytest Documentation
- Existing test examples in
tests/directory - CONTRIBUTING.md for development setup
Metadata
Metadata
Assignees
Labels
Home AssistantStuff that is related to home assistant and the integration of servicesStuff that is related to home assistant and the integration of servicesarea: sensorsRelated to sensor entitiesRelated to sensor entitiesgood first issueGood for newcomersGood for newcomerspythonPull requests that update Python codePull requests that update Python code