DPIclimate / DPIclimate/broker

Add unit tests for REST API calls that get physical/logical devices without properties

Open
#27 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
3
Forks
3
Avg merge
3m
Merged PRs (30d)
1

Description

The upgraded FastAPI is highlighting pydantic model and function signature errors that were not detected by the current unit tests.

Add tests to get physical and logical devices without their properties to ensure this works properly.

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the REST API entry points and existing unit tests for retrieving physical and logical devices, then run the current test suite under the upgraded FastAPI. Add coverage for requests that omit device properties, and consider the work done when both API paths pass without Pydantic model or function-signature errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
fastapi, python
Domain
api, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.