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

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-25 03:06:42 UTC
  • mfrom: (7045.3.4 python3-r)
  • Revision ID: breezy.the.bot@gmail.com-20180725030642-oghhedvui3470wy6
Fix another ~500 tests on Python 3.

Merged from https://code.launchpad.net/~jelmer/brz/python3-r/+merge/350430

Show diffs side-by-side

added added

removed removed

Lines of Context:
892
892
        transport = memory.MemoryTransport('memory:///')
893
893
        utf8_filename = u'testfile\N{INTERROBANG}'.encode('utf-8')
894
894
        # VFS requests use filenames, not raw UTF-8.
895
 
        hpss_path = urlutils.escape(utf8_filename)
 
895
        hpss_path = urlutils.quote_from_bytes(utf8_filename)
896
896
        transport.put_bytes(utf8_filename, b'contents\nof\nfile\n')
897
897
        server, from_server = self.create_pipe_context(
898
898
                b'get\001' + hpss_path + b'\n', transport)