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

  • Committer: Jelmer Vernooij
  • Date: 2018-08-13 01:38:21 UTC
  • mto: This revision was merged to the branch mainline in revision 7078.
  • Revision ID: jelmer@jelmer.uk-20180813013821-ftxhownoxs1l55qs
Fix some more tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
337
337
        client = FakeClient('/')
338
338
        client.add_success_response(b'yes',)
339
339
        transport = RemoteTransport('bzr://localhost/', _client=client)
340
 
        filename = u'/hell\u00d8'.encode('utf-8')
 
340
        filename = u'/hell\u00d8'
341
341
        result = transport.has(filename)
342
342
        self.assertEqual(
343
 
            [('call', b'has', (filename,))],
 
343
            [('call', b'has', (filename.encode('utf-8'),))],
344
344
            client._calls)
345
345
        self.assertTrue(result)
346
346