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

  • Committer: Jelmer Vernooij
  • Date: 2017-06-08 23:30:31 UTC
  • mto: This revision was merged to the branch mainline in revision 6690.
  • Revision ID: jelmer@jelmer.uk-20170608233031-3qavls2o7a1pqllj
Update imports.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    def test_simple_ping(self):
26
26
        self.setup_smart_server_with_call_log()
27
27
        t = self.make_branch_and_tree('branch')
28
 
        self.build_tree_contents([('branch/foo', b'thecontents')])
 
28
        self.build_tree_contents([('branch/foo', 'thecontents')])
29
29
        t.add("foo")
30
30
        t.commit("message")
31
31
        self.reset_smart_call_log()
33
33
        self.assertLength(1, self.hpss_calls)
34
34
        self.assertLength(1, self.hpss_connections)
35
35
        self.assertEqual(out,
36
 
                         "Response: (b'ok', b'2')\n"
37
 
                         "Headers: {'Software version': '%s'}\n" % (breezy.version_string,))
 
36
            "Response: ('ok', '2')\n"
 
37
            "Headers: {'Software version': '%s'}\n" % (breezy.version_string,))
38
38
        self.assertEqual(err, "")