Skip to content

Asset API sorting by name is case-sensitive, causing test failures #1980

@Ahmad-Wahid

Description

@Ahmad-Wahid

The AssetAPI:index endpoint sorts asset names case-sensitively.

Because of this:

  • "Test wind turbine" sorts before "incineration line" in ascending order.

Existing tests assumed case-insensitive ordering, which caused two failures in test_get_assets when sorting by name.

The API behavior is consistent, but test expectations are incorrect.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions