/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2020-06-11 02:08:52 UTC
  • mfrom: (7510.1.3 merge-3.1)
  • Revision ID: breezy.the.bot@gmail.com-20200611020852-jdb9d037vj6shvyj
Merge lp:brz/3.1.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.1/+merge/385542

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