Skip to content

UserWarning when running tests  #346

@chriswedgwood

Description

@chriswedgwood

When running the following

$ python manage.py test --settings=djangosnippets.settings.testing

I get the following error

/Users/chriswedgwood/DjangoProjects/djangosnippets.org/venv/lib/python3.8/site-packages/django/contrib/auth/__init__.py:76: UserWarning: No request passed to the backend, unable to rate-limit. Username was 'a'
  user = backend.authenticate(request, **credentials)

Its annoying so will look to suppress it

Metadata

Metadata

Assignees

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