Question

When running the full set of tests for django i am getting this error:

FAIL: test_error_logging (django_extensions.tests.management_command.CommandTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/lib/jenkins/shiningpanda/jobs/cb5c943f/virtualenvs/d41d8cd9/local/lib/python2.7/site-packages/django_extensions/tests/management_command.py", line 35, in test_error_logging
    self.assertEqual(len(handler.messages['error']), 1)
AssertionError: 0 != 1

Can anyone explain why i might be getting this and how to stop it?

Was it helpful?

Solution

The behavior you describe is similar to this issue on the django-extensions github page.

Looks like the solution is to update to version 1.0.3

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top