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

Side by Side Diff: tools/auto_bisect/crbug_query_test_data.py

Issue 697713003: Aborting bisect early when the bug specified in the bisect config is closed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # These strings are simulated responses to various conditions when querying
6 # the chromium issue tracker.
7 import os
8
9 _current_directory = os.path.dirname(__file__)
10 _test_data_directory = os.path.join(_current_directory, 'test_data')
11
12 CLOSED_ISSUE_DATA = open(os.path.join(_test_data_directory,
13 'closed.json')).read()
14
15 OPEN_ISSUE_DATA = open(os.path.join(_test_data_directory,
16 'open.json')).read()
17
18 UNEXPECTED_FORMAT_DATA = CLOSED_ISSUE_DATA.replace('issues$state', 'gibberish')
19
20 BROKEN_ISSUE_DATA = "\n<HTML><HEAD><TITLE>Not a JSON Doc</TITLE></HEAD></HTML>"
qyearsley 2014/11/01 16:56:57 This could also go directly in crbug_query_test.py
RobertoCN 2014/11/02 07:48:35 Originally it contained the full text of the json
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698