Skip to content

pytest keeps running deleted tests #471

@pytestbot

Description

@pytestbot

Originally reported by: Mantas Zilinskis (BitBucket: montiniz, GitHub: montiniz)


i just started using pytest for my django projects.
couple days ago playing around with a test project i noticed that pytest sometimes would run some test functions which were already deleted. did not pay attention to that then.
today i started new django project with pytest-bdd, pytest-django. after creating some test function, ran tests. then decided to remove one test function. ran the test again and noticed that pytest collected the deleted test.
removed all pyc files from working direcotry, cleared all pycahe directories, ran tests and it still collected the deleted test. whatever i tried wouldn't help. i'm running on virtualenv, python 2.7, django 1.6., MacOSX 10.9.1, SublimeText 3beta.
what would be the way to debug this?


Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugproblem that needs to be addressed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions