X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fchromite%2Fscripts%2Fgather_builder_stats_unittest.py;h=5a2ea9d73ae336802eb966aa6aa66f0a77ce5f97;hb=3545e9f2671f595d2a2f3ee75ca0393b01e35ef6;hp=3d4dcef4f4d0a62f6160a1d9d5900e2556812277;hpb=7d210d4c7e9ba36e635eabc5b5780495f8a63292;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/chromite/scripts/gather_builder_stats_unittest.py b/src/third_party/chromite/scripts/gather_builder_stats_unittest.py index 3d4dcef..5a2ea9d 100755 --- a/src/third_party/chromite/scripts/gather_builder_stats_unittest.py +++ b/src/third_party/chromite/scripts/gather_builder_stats_unittest.py @@ -1,11 +1,12 @@ #!/usr/bin/python - # Copyright (c) 2014 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Unit tests for gather_builder_stats.""" +from __future__ import print_function + import datetime import itertools import os @@ -55,7 +56,8 @@ class TestCLActionLogic(unittest.TestCase): failed_status = {'status' : constants.FINAL_STATUS_FAILED} t = itertools.count() - bot_config = constants.CQ_MASTER if cq else constants.PRE_CQ_GROUP + bot_config = (constants.CQ_MASTER if cq + else constants.PRE_CQ_GROUP_GS_LOCATION) # pylint: disable=W0212 TEST_METADATA = [