~jelmer/loggerhead/breezy-compat

« back to all changes in this revision

Viewing changes to loggerhead/tests/test_revision_ui.py

  • Committer: Colin Watson
  • Date: 2019-09-19 08:10:36 UTC
  • mfrom: (491.2.62 breezy)
  • Revision ID: cjwatson@canonical.com-20190919081036-q1symc2h2iedtlh3
[r=cjwatson] Switch loggerhead over to using the Breezy rather than Bazaar APIs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
16
#
17
17
 
 
18
from __future__ import absolute_import
18
19
 
19
 
from loggerhead.tests.test_simple import BasicTests
 
20
from .test_simple import BasicTests
20
21
 
21
22
 
22
23
class TestRevisionUI(BasicTests):
43
44
        # and the Authors are connected. However, that requires asserting the
44
45
        # exact HTML connections, which I wanted to avoid.
45
46
        res.mustcontain('Committer', 'Joe Example')
46
 
        self.assertFalse('Author(s)' in res.body)
 
47
        self.assertFalse(b'Author(s)' in res.body)