Skip to content

Weird test names in pytest -v output #804

Closed
@poros

Description

@poros

This happened to me on at least three different projects when running pytest -v. Some of the test cases constantly appears in this weird form

test_dir/test_file.py <- absolute_path_of_test_file::TestClass::testcase PASSED

instead of the usual one.

I tried to look for something similar in the documentation, but I wasn't able to find anything. I can't spot any difference between the "weird" test cases and the regular ones.

Does anyone knows what's going on here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: questiongeneral question, might be closed after 2 weeks of inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions