Chromium Code Reviews| Index: net/tools/testserver/chromiumsync.py |
| diff --git a/net/tools/testserver/chromiumsync.py b/net/tools/testserver/chromiumsync.py |
| index fc1be200ec086d4bd2550265ef48aa67d61efe0b..7e83a8833797a10e8262b6134d37f0f5fcfb037b 100755 |
| --- a/net/tools/testserver/chromiumsync.py |
| +++ b/net/tools/testserver/chromiumsync.py |
| @@ -955,6 +955,12 @@ class TestServer(object): |
| return (code, '<html><title>Migration: %d</title><H1>%d %s</H1></html>' % |
| (code, code, response)) |
| + def HandleCreateBirthdayError(self): |
| + self.account.store_birthday = '%0.30f' % random.random() |
|
try_nick_at_chromium_org
2011/07/26 19:50:22
I'd prefer this be a call into a method of SyncDat
lipalani1
2011/07/27 01:15:22
Done.
|
| + return ( |
| + 200, |
| + '<html><title>Birthday error</title><H1>Birthday error</H1></html>') |
| + |
| def HandleCommand(self, query, raw_request): |
| """Decode and handle a sync command from a raw input of bytes. |