Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: appengine/findit/handlers/crash/test/crash_handler_test.py

Issue 2299883005: [Findit] Add findit_for_client to do analysis based on client_id (Closed)
Patch Set: Rebase. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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])
OLDNEW
« no previous file with comments | « appengine/findit/handlers/crash/crash_handler.py ('k') | appengine/findit/model/crash/crash_config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698