Skip to content

Improve failure when a database access happens from unittest.TestCase #234

Closed
@blueyed

Description

@blueyed

From #197 (comment)

Regarding the error message about the marker, we could probably improve the failure when a database access happens from a unittest.TestCase subclass to instruct the user to subclass from django.test.TestCase instead.

Should this then also happen for access through setUpClass, or should this behavior be left unchanged?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions