1489
1489
smart_protocol._has_dispatched = True
1490
1490
smart_protocol.request = _mod_request.SmartServerRequestHandler(
1491
1491
None, _mod_request.request_handlers, '/')
1495
1495
self.assertEqual('abcdefg', body_bytes)
1496
1496
return _mod_request.SuccessfulSmartServerResponse(('ok', ))
1498
1498
# Call accept_bytes to make sure that internal state like _body_decoder
1499
1499
# is initialised. This test should probably be given a clearer
1500
1500
# interface to work with that will not cause this inconsistency.