Skip to content

UserWarning when running tests  #346

Open
@chriswedgwood

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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