Skip to content

Instantly share code, notes, and snippets.

@lucaswiman
Created January 26, 2015 02:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucaswiman/dd8cddd0be68f58b89dc to your computer and use it in GitHub Desktop.
Save lucaswiman/dd8cddd0be68f58b89dc to your computer and use it in GitHub Desktop.
Failures from django test run
======================================================================
ERROR: test_render_with_current_app (shortcuts.tests.ShortcutTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/lucaswiman/opensource/django/django/test/utils.py", line 455, in inner
return decorated(*args, **kwargs)
File "/Users/lucaswiman/opensource/django/tests/shortcuts/tests.py", line 84, in test_render_with_current_app
self.assertEqual(response.context.request.current_app, "foobar_app")
AttributeError: 'WSGIRequest' object has no attribute 'current_app'
======================================================================
FAIL: test_lazy_reverse (resolve_url.tests.ResolveUrlTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/lucaswiman/opensource/django/tests/resolve_url/tests.py", line 66, in test_lazy_reverse
self.assertIsInstance(resolved_url, six.text_type)
AssertionError: <django.utils.functional.__proxy__ object at 0x1105b27d0> is not an instance of <type 'unicode'>
======================================================================
FAIL: test_subcommands (bash_completion.tests.BashCompletionTests)
Subcommands can be autocompleted
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Users/lucaswiman/opensource/django/tests/bash_completion/tests.py", line 81, in test_subcommands
self.assertEqual(output, ['sqlflush sqlmigrate sqlsequencereset'])
AssertionError: Lists differ: [u'sqlall sqlclear sqlcustom s... != ['sqlflush sqlmigrate sqlseque...
First differing element 0:
sqlall sqlclear sqlcustom sqlflush sqlmigrate sqlsequencereset
sqlflush sqlmigrate sqlsequencereset
- [u'sqlall sqlclear sqlcustom sqlflush sqlmigrate sqlsequencereset']
+ ['sqlflush sqlmigrate sqlsequencereset']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment