/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_transport.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:
38
38
    pathfilter,
39
39
    readonly,
40
40
    )
 
41
from ..transport.http import urllib
41
42
import breezy.transport.trace
42
43
from . import (
43
44
    features,
1102
1103
 
1103
1104
    def test_truncation(self):
1104
1105
        fake_html = "<p>something!\n" * 1000
1105
 
        result = http.unhtml_roughly(fake_html)
 
1106
        result = urllib.unhtml_roughly(fake_html)
1106
1107
        self.assertEqual(len(result), 1000)
1107
1108
        self.assertStartsWith(result, " something!")