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

  • Committer: Andrew Bennetts
  • Date: 2008-01-14 22:45:15 UTC
  • mfrom: (3179 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3180.
  • Revision ID: andrew.bennetts@canonical.com-20080114224515-izp51fxci3hhopap
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2277
2277
            ('foo', 'bar'), 'bytes')
2278
2278
        self.assertEqual(('foo', 'bar'), response.args)
2279
2279
        self.assertEqual('bytes', response.body)
 
2280
        # repr(response) doesn't trigger exceptions.
 
2281
        repr(response)
2280
2282
 
2281
2283
    def test_construct_with_body_stream(self):
2282
2284
        bytes_iterable = ['abc']
2306
2308
        response = request.FailedSmartServerResponse(('foo', 'bar'), 'bytes')
2307
2309
        self.assertEqual(('foo', 'bar'), response.args)
2308
2310
        self.assertEqual('bytes', response.body)
 
2311
        # repr(response) doesn't trigger exceptions.
 
2312
        repr(response)
2309
2313
 
2310
2314
    def test_is_successful(self):
2311
2315
        """is_successful should return False for FailedSmartServerResponse."""