/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/blackbox/test_log.py

  • Committer: Jelmer Vernooij
  • Date: 2020-03-22 01:35:14 UTC
  • mfrom: (7490.7.6 work)
  • mto: This revision was merged to the branch mainline in revision 7499.
  • Revision ID: jelmer@jelmer.uk-20200322013514-7vw1ntwho04rcuj3
merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Black-box tests for brz log."""
19
19
 
20
 
from __future__ import absolute_import
21
 
 
22
20
 
23
21
import os
24
22
 
29
27
    osutils,
30
28
    tests,
31
29
    )
32
 
from breezy.sixish import PY3
33
30
from breezy.tests import (
34
31
    test_log,
35
32
    features,
785
782
            out, err = brz('log', encoding=encoding)
786
783
            if not fail:
787
784
                # Make sure we wrote mu as we expected it to exist
788
 
                if not PY3:
789
 
                    self.assertNotEqual(-1, out.find(encoded_msg))
790
 
                    out_unicode = out.decode(encoding)
791
 
                else:
792
 
                    out_unicode = out
793
 
                self.assertNotEqual(-1, out_unicode.find(self._message))
 
785
                self.assertNotEqual(-1, out.find(self._message))
794
786
            else:
795
787
                self.assertNotEqual(-1, out.find('Message with ?'))
796
788
        finally: