Skip to content

Inconsistent ordering requirements in test_update_tags_created in test_run_class.py #593

@alahiff

Description

@alahiff

https://github.com/simvue-io/python-api/blob/dev/tests/functional/test_run_class.py

In the two tests here one requires tags to be returned in the same order as when the run was created:

    assert run_data["tags"] == tags

whereas the second test uses sorted so the order isn't important:

    assert sorted(run_data["tags"]) == sorted(tags + ["additional"])

It would be good if the first test could also use sorted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions