| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import base64 | 5 import base64 |
| 6 import json | 6 import json |
| 7 import os | 7 import os |
| 8 import re | 8 import re |
| 9 | 9 |
| 10 import webapp2 | 10 import webapp2 |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 }, | 76 }, |
| 77 'subscription': 'subscription', | 77 'subscription': 'subscription', |
| 78 } | 78 } |
| 79 | 79 |
| 80 self.test_app.post_json('/_ah/push-handlers/crash/fracas', | 80 self.test_app.post_json('/_ah/push-handlers/crash/fracas', |
| 81 request_json_data) | 81 request_json_data) |
| 82 | 82 |
| 83 self.assertEqual(1, len(requested_crashes)) | 83 self.assertEqual(1, len(requested_crashes)) |
| 84 self.assertEqual( | 84 self.assertEqual( |
| 85 (crash_identifiers, chrome_version, signature, client_id, | 85 (crash_identifiers, chrome_version, signature, client_id, |
| 86 platform, stack_trace, channel, historic_metadata), | 86 platform, stack_trace, {'channel': channel, |
| 87 'historical_metadata': historic_metadata}), |
| 87 requested_crashes[0]) | 88 requested_crashes[0]) |
| OLD | NEW |