Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / chromite / scripts / gather_builder_stats_unittest.py
index 3d4dcef..5a2ea9d 100755 (executable)
@@ -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 = [