~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_wsgi.py

Merge Robert's status prefix changes to protocol 2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
238
238
        response = self.read_response(iterable)
239
239
        self.assertEqual('200 OK', self.status)
240
240
        # Expect a version 2-encoded response.
241
 
        self.assertEqual(protocol.RESPONSE_VERSION_TWO + 'ok\x012\n', response)
 
241
        self.assertEqual(
 
242
            protocol.RESPONSE_VERSION_TWO + 'success\nok\x012\n', response)
242
243
 
243
244
 
244
245
class FakeRequest(object):