Opened 11 years ago

Closed 11 years ago

#19776 closed Uncategorized (fixed)

test fails in git stable/1.5.x branch

Reported by: Rob van der Linde Owned by: nobody
Component: Testing framework Version: 1.5-beta-1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

This test wasn't failing just the other day, so probably only just introduced.

ERROR: test_authenticate (django.contrib.auth.tests.auth_backends.CustomUserModelBackendAuthenticateTest)


Traceback (most recent call last):

File "/home/rob/Projects/django15-env/eve/venv/local/lib/python2.7/site-packages/django/contrib/auth/tests/auth_backends.py", line 205, in test_authenticate

authenticated_user = authenticate(email='test@…', password='test')

NameError: global name 'authenticate' is not defined

Change History (1)

comment:1 by Preston Holmes <preston@…>, 11 years ago

Resolution: fixed
Status: newclosed

In 830b9fde460cedeb9a9a52e11a2d456d08c5198f:

[1.5.x] Fixed #19776 -- Added missing import for backport

line was present on master from 1520748dac95a7f114e4bb2feeee04d46c720494

Note: See TracTickets for help on using tickets.
Back to Top