Searched refs:pad_string (Results 1 – 7 of 7) sorted by relevance
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
D | end2end_test.py | 62 self.assertEquals(util.pad_string('Bad Request'), content) 76 self.assertEquals(util.pad_string('Unsupported Media Type'), content) 83 util.pad_string('/my/service.optional_message is a ProtoRPC method.\n\n' 106 self.assertEquals(util.pad_string(expected_content), content)
|
D | util_test.py | 43 self.assertEquals(' ' * 512, util.pad_string('')) 46 self.assertEquals('hello' + (507 * ' '), util.pad_string('hello')) 49 self.assertEquals('x' * 1000, util.pad_string('x' * 1000))
|
D | util.py | 71 def pad_string(string): function
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/ |
D | service_handlers.py | 231 def build_response(self, handler, response, pad_string=False): argument 434 self.response.out.write(util.pad_string(''.join(response_message))) 485 response_message = util.pad_string(response_message)
|
D | service_handlers_test.py | 135 test.assertEquals(util.pad_string(''), content) 727 util.pad_string('/my_service is a ProtoRPC service.\n\n' 745 self.assertEquals(util.pad_string(expected_message), 756 util.pad_string('/my_service.method1 is a ProtoRPC method.\n\n'
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/ |
D | util.py | 125 content = util.pad_string(content)
|
D | util_test.py | 208 …self.assertEquals(util.pad_string(six.moves.http_client.responses[six.moves.http_client.NOT_FOUND]…
|