Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created July 6, 2012 21:16
Show Gist options
  • Save groovecoder/3062788 to your computer and use it in GitHub Desktop.
Save groovecoder/3062788 to your computer and use it in GitHub Desktop.
test failures
======================================================================
ERROR: test_attachment_detail (vagrant.apps.wiki.tests.test_views.AttachmentTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/../vagrant/apps/wiki/tests/test_views.py", line 1949, in test_attachment_detail
attachment = Attachment.objects.get(title='Test file for viewing')
File "/vagrant/vendor/src/django/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/vagrant/vendor/src/django/django/db/models/query.py", line 347, in get
% self.model._meta.object_name)
DoesNotExist: Attachment matching query does not exist.
======================================================================
ERROR: test_edit_attachment (vagrant.apps.wiki.tests.test_views.AttachmentTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/../vagrant/apps/wiki/tests/test_views.py", line 1909, in test_edit_attachment
attachment = Attachment.objects.get(title='Test editing file')
File "/vagrant/vendor/src/django/django/db/models/manager.py", line 132, in get
return self.get_query_set().get(*args, **kwargs)
File "/vagrant/vendor/src/django/django/db/models/query.py", line 347, in get
% self.model._meta.object_name)
DoesNotExist: Attachment matching query does not exist.
======================================================================
FAIL: Load a non-English document with no approved content, with a parent
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/../vagrant/apps/wiki/tests/test_templates.py", line 121, in test_translation_document_no_approved_content
doc('div#wikiArticle').text())
File "/vagrant/vendor/packages/nose/nose/tools.py", line 25, in ok_
assert expr, msg
AssertionError
======================================================================
FAIL: test_new_attachment (vagrant.apps.wiki.tests.test_views.AttachmentTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/../vagrant/apps/wiki/tests/test_views.py", line 1869, in test_new_attachment
eq_(302, resp.status_code)
File "/vagrant/vendor/packages/nose/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 302 != 301
======================================================================
FAIL: test_revisions_feed (vagrant.apps.wiki.tests.test_views.DocumentEditingTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/vagrant/../vagrant/apps/wiki/tests/test_views.py", line 1205, in test_revisions_feed
ok_('<ins>' in desc_text)
File "/vagrant/vendor/packages/nose/nose/tools.py", line 25, in ok_
assert expr, msg
AssertionError
----------------------------------------------------------------------
Ran 488 tests in 137.839s
FAILED (SKIP=116, errors=2, failures=3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment