Summary
GET /tasks?status=open returns an empty list instead of open tasks.
Intended outcome
Filtering by status=open should return only tasks whose status is open.
Actual outcome
The endpoint returns [].
Reproduction steps
- Install deps:
python3 -m pip install -r requirements.txt
- Run tests:
pytest -v tests/test_api.py
- Observe failure in
test_list_tasks_filters_by_status
Repro logs
tests/test_api.py::test_list_tasks_filters_by_status FAILED
> assert [task["id"] for task in payload] == [1, 3, 4]
E AssertionError: assert [] == [1, 3, 4]
Notes
This is currently captured by automated HTTP-level test coverage in tests/test_api.py.
Summary
GET /tasks?status=openreturns an empty list instead of open tasks.Intended outcome
Filtering by
status=openshould return only tasks whose status isopen.Actual outcome
The endpoint returns
[].Reproduction steps
python3 -m pip install -r requirements.txtpytest -v tests/test_api.pytest_list_tasks_filters_by_statusRepro logs
Notes
This is currently captured by automated HTTP-level test coverage in
tests/test_api.py.