Home
last modified time | relevance | path

Searched refs:pad_string (Results 1 – 7 of 7) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Dend2end_test.py62 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)
Dutil_test.py43 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))
Dutil.py71 def pad_string(string): function
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers.py231 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)
Dservice_handlers_test.py135 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/
Dutil.py125 content = util.pad_string(content)
Dutil_test.py208 …self.assertEquals(util.pad_string(six.moves.http_client.responses[six.moves.http_client.NOT_FOUND]…