tests fail on Python 2

Bug #1802667 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
loggerhead-breezy
Triaged
Critical
Jelmer Vernooij

Bug Description

======================================================================
ERROR: test_authors_vs_committer (loggerhead.tests.test_revision_ui.TestRevisionUI)
loggerhead.tests.test_revision_ui.TestRevisionUI.test_authors_vs_committer
----------------------------------------------------------------------
_StringException: log: {{{
9.637 creating repository in file:///tmp/testbzr-U_tJXn.tmp/loggerhead.tests.test_revision_ui.TestRevisionUI.test_authors_vs_committer/work/.bzr/.
9.640 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x7fd7f3a12750> in file:///tmp/testbzr-U_tJXn.tmp/loggerhead.tests.test_revision_ui.TestRevisionUI.test_authors_vs_committer/work/
9.648 trying to create missing lock u'/tmp/testbzr-U_tJXn.tmp/loggerhead.tests.test_revision_ui.TestRevisionUI.test_authors_vs_committer/work/.bzr/checkout/dirstate'
9.651 opening working tree u'/tmp/testbzr-U_tJXn.tmp/loggerhead.tests.test_revision_ui.TestRevisionUI.test_authors_vs_committer/work'
9.664 preparing to commit
    INFO Committing to: /tmp/testbzr-U_tJXn.tmp/loggerhead.tests.test_revision_ui.TestRevisionUI.test_authors_vs_committer/work/
9.667 Selecting files for commit with filter None
    INFO Committed revision 1.
9.694 Committed revid <email address hidden> as revno 1.
}}}
Traceback (most recent call last):
  File "loggerhead/tests/test_revision_ui.py", line 31, in test_authors_vs_committer
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/paste/fixture.py", line 211, in get
    return self.do_request(req, status=status)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/paste/fixture.py", line 409, in do_request
    **req.environ)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/paste/wsgilib.py", line 351, in raw_interactive
    app_iter = application(basic_environ, start_response)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/paste/lint.py", line 170, in lint_app
    iterator = application(environ, start_response_wrapper)
  File "/home/travis/virtualenv/python2.7.14/lib/python2.7/site-packages/paste/httpexceptions.py", line 640, in __call__
    return self.application(environ, start_response)
  File "loggerhead/apps/branch.py", line 207, in app
  File "loggerhead/controllers/__init__.py", line 130, in __call__
  File "loggerhead/zptsupport.py", line 86, in load_template
  File "loggerhead/zptsupport.py", line 33, in zpt
OSError: [Errno 2] No such file or directory: 'loggerhead/templates/revision.pt'

Tags: selftest
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.