/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/bzr/tests/test_smart_transport.py

  • Committer: Jelmer Vernooij
  • Date: 2021-01-10 00:25:52 UTC
  • mfrom: (7490.40.131 work)
  • mto: (7526.3.1 work)
  • mto: This revision was merged to the branch mainline in revision 7532.
  • Revision ID: jelmer@jelmer.uk-20210110002552-wnvuqtqin7uhjv3v
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
    test_server,
57
57
    )
58
58
from ...transport import (
59
 
    http,
60
59
    local,
61
60
    memory,
62
61
    remote,
63
62
    ssh,
64
63
    )
 
64
from ...transport.http import urllib
65
65
from . import (
66
66
    test_smart,
67
67
    )
4273
4273
 
4274
4274
    def test_smart_http_medium_request_accept_bytes(self):
4275
4275
        medium = FakeHTTPMedium()
4276
 
        request = http.SmartClientHTTPMediumRequest(medium)
 
4276
        request = urllib.SmartClientHTTPMediumRequest(medium)
4277
4277
        request.accept_bytes(b'abc')
4278
4278
        request.accept_bytes(b'def')
4279
4279
        self.assertEqual(None, medium.written_request)