/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: Jelmer Vernooij
  • Date: 2020-06-10 23:47:24 UTC
  • mfrom: (7490.40.9 work)
  • mto: This revision was merged to the branch mainline in revision 7511.
  • Revision ID: jelmer@jelmer.uk-20200610234724-dk8940wc16l6lihf
Merge lp:brz/3.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
        f = response.ResponseFile('many', BytesIO(b'0\n1\nboo!\n'))
89
89
        self.assertEqual([b'0\n', b'1\n', b'boo!\n'], list(f))
90
90
 
 
91
    def test_readlines(self):
 
92
        f = response.ResponseFile('many', BytesIO(b'0\n1\nboo!\n'))
 
93
        self.assertEqual([b'0\n', b'1\n', b'boo!\n'], f.readlines())
 
94
 
91
95
 
92
96
class TestHTTPConnection(tests.TestCase):
93
97