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

  • Committer: Gustav Hartvigsson
  • Date: 2021-01-11 20:19:38 UTC
  • mfrom: (7526.3.2 work)
  • Revision ID: gustav.hartvigsson@gmail.com-20210111201938-omr9wjz3qdgyxe8k
MergedĀ lp:brz

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    )
50
50
from ..transport.http import (
51
51
    response,
52
 
    HTTPConnection,
 
52
    urllib,
53
53
    )
54
54
from .file_utils import (
55
55
    FakeReadFile,
66
66
        return self.readfile
67
67
 
68
68
 
69
 
class FakeHTTPConnection(HTTPConnection):
 
69
class FakeHTTPConnection(urllib.HTTPConnection):
70
70
 
71
71
    def __init__(self, sock):
72
 
        HTTPConnection.__init__(self, 'localhost')
 
72
        urllib.HTTPConnection.__init__(self, 'localhost')
73
73
        # Set the socket to bypass the connection
74
74
        self.sock = sock
75
75