Open Bug 1849257 Opened 2 years ago

disable django debug toolbar for test execution

Categories

(Tree Management :: Treeherder, defect)

defect

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: aryx, Assigned: aryx)

Details

See https://github.com/jazzband/django-debug-toolbar/issues/1035

Tests which use django's reverse like the webapp API tests fail because the test runner sets DEBUG=False which prevents the toolbar's url patterns from loading.

This was no issue in the past when all the tests got executed in alphabetic order (but had already been an issue if only an affected test had to be executed). But now they are executed in random order and fail.

You need to log in before you can comment on or make changes to this bug.