Skip to content

Django's TEST_RUNNER setting is ignored #367

Closed
@barbolani

Description

@barbolani

Using Django 1.9 it seems that Py.test ignores the TEST_RUNNER specified in Django's settings. Looking in pytest_django.compat, I see that it directly tries to instantiate a DjangoTestRunner instead of using the settings.TEST_RUNNER

At least in Django 1.9 there is django.test.utlils.get_runner which locates and returns the runner class.

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