/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/test_selftest.py

  • Committer: Jelmer Vernooij
  • Date: 2018-07-07 19:27:38 UTC
  • mto: (7027.4.10 python3-blackbox)
  • mto: This revision was merged to the branch mainline in revision 7038.
  • Revision ID: jelmer@jelmer.uk-20180707192738-cbt5f28lbd3lx4td
Add some more bees; support writing both bytes and unicode strings in build_tree_contents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2655
2655
        self.disable_missing_extensions_warning()
2656
2656
        process = self.start_bzr_subprocess(['wait-until-signalled'],
2657
2657
                                            skip_if_plan_to_signal=True)
2658
 
        self.assertEqual('running\n', process.stdout.readline())
 
2658
        self.assertEqual(b'running\n', process.stdout.readline())
2659
2659
        result = self.finish_bzr_subprocess(process, send_signal=signal.SIGINT,
2660
2660
                                            retcode=3)
2661
 
        self.assertEqual('', result[0])
2662
 
        self.assertEqual('brz: interrupted\n', result[1])
 
2661
        self.assertEqual(b'', result[0])
 
2662
        self.assertEqual(b'brz: interrupted\n', result[1])
2663
2663
 
2664
2664
 
2665
2665
class TestSelftestFiltering(tests.TestCase):