Skip to content

Emit proper error message when tests.sort() failed #537

Description

@jelmer

Migrated from Launchpad: https://bugs.launchpad.net/bugs/1243922

Original Reporter: Kui Shi
Date Created: 2013-10-23 21:08:00.469231+00:00
Status on Launchpad: Triaged
Importance: Wishlist


All test cases are sorted by tests.sort() in testtools/testsuite.py:sorted_tests(). The default sort key is test id, if there is error in test id, TypeError will be raised:
https://bugs.launchpad.net/python-heatclient/+bug/1243096

We'd better emit proper error message for developer to tell what has happened.

There is a pull request discussion here:
#52

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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