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

Unified Diff: recipe_modules/bot_update/test_api.py

Issue 2311673002: Just disable force to ensure that bot_update really is running everywhere. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « recipe_modules/bot_update/resources/bot_update.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipe_modules/bot_update/test_api.py
diff --git a/recipe_modules/bot_update/test_api.py b/recipe_modules/bot_update/test_api.py
index c14d98adb73def226024187dca139e4b3340137b..afe524a6318474c96ac077f9d5c79ae72aebc7ae 100644
--- a/recipe_modules/bot_update/test_api.py
+++ b/recipe_modules/bot_update/test_api.py
@@ -8,10 +8,6 @@ import struct
import sys
from recipe_engine import recipe_test_api
-# TODO(phajdan.jr): Clean up this somewhat ugly import.
-sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'resources'))
-import bot_update
-
class BotUpdateTestApi(recipe_test_api.RecipeTestApi):
def output_json(self, master, builder, slave, root, first_sln,
@@ -20,7 +16,7 @@ class BotUpdateTestApi(recipe_test_api.RecipeTestApi):
"""Deterministically synthesize json.output test data for gclient's
--output-json option.
"""
- active = bot_update.check_valid_host(master, builder, slave) or force
+ active = True
output = {
'did_run': active,
« no previous file with comments | « recipe_modules/bot_update/resources/bot_update.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698