Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 1650 by Karrde712: Djblets0.6.2 unit tests fail
http://code.google.com/p/reviewboard/issues/detail?id=1650

*NOTE: Do not post confidential information in this bug report.*

What version are you running?
Djblets 0.6.2

What's the URL of the page containing the problem?
N/A

What steps will reproduce the problem?
1. Extract Djblets-0.6.2.tar.gz
2. cd into Djblets-0.6.2/tests
3. ./runtests.py

What is the expected output? What do you see instead?
I expect the tests to succeed.

Instead, I see:
======================================================================
ERROR: Testing view_feed with the feed-page.html template
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/bos/sgallagh/workspace/fedora/python-djblets/devel/Djblets-0.6.2/djblets/feedview/tests.py",
line 34, in testViewFeedPage
    response = self.client.get('/feed/')
  File "/usr/lib/python2.6/site-packages/django/test/client.py", line 281,
in get
    response = self.request(**r)
  File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py",
line 92, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File
"/home/bos/sgallagh/workspace/fedora/python-djblets/devel/Djblets-0.6.2/djblets/feedview/views.py",
line 46, in view_feed
    RequestContext(request, context))
  File "/usr/lib/python2.6/site-packages/django/shortcuts/__init__.py",
line 20, in render_to_response
    return HttpResponse(loader.render_to_string(*args, **kwargs),
**httpresponse_kwargs)
  File "/usr/lib/python2.6/site-packages/django/template/loader.py", line
108, in render_to_string
    return t.render(context_instance)
  File "/usr/lib/python2.6/site-packages/django/test/utils.py", line 29, in
instrumented_test_render
    return self.nodelist.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/__init__.py", line
779, in render
    bits.append(self.render_node(node, context))
  File "/usr/lib/python2.6/site-packages/django/template/debug.py", line
71, in render_node
    result = node.render(context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 71, in render
    compiled_parent = self.get_parent(context)
  File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 66, in get_parent
    raise TemplateSyntaxError, "Template %r cannot be extended, because it
doesn't exist" % parent
TemplateSyntaxError: Template u'base.html' cannot be extended, because it
doesn't exist

======================================================================
FAIL: Testing view_feed with the feed-inline.html template
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/bos/sgallagh/workspace/fedora/python-djblets/devel/Djblets-0.6.2/djblets/feedview/tests.py",
line 41, in testViewFeedInline
    self.assertContains(response, "Django 1.0 alpha released", 1)
  File "/usr/lib/python2.6/site-packages/django/test/testcases.py", line
342, in assertContains
    (real_count, text, count))
AssertionError: Found 0 instances of 'Django 1.0 alpha released' in
response (expected 1)

----------------------------------------------------------------------


What operating system are you using? What browser?
Fedora 13 x86_64, no browser. Django 1.1.1. PIL 1.1.6. SQLite 3.6.22

Please provide any additional information below.


--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to 
reviewboard-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/reviewboard-issues?hl=en.

Reply via email to