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

Unified Diff: scripts/slave/unittests/gatekeeper_ng_test.py

Issue 514813003: Added method for loading of the gatekeeper_trees.json config. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Added a test to validate checked-in trees config Created 6 years, 4 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 | « scripts/slave/gatekeeper_ng_config.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/unittests/gatekeeper_ng_test.py
diff --git a/scripts/slave/unittests/gatekeeper_ng_test.py b/scripts/slave/unittests/gatekeeper_ng_test.py
index 0cd8dba46b97b6201632a370bf66789066b9c92c..2a637c9ec5080743670b29a97cf1188e19d58f5c 100755
--- a/scripts/slave/unittests/gatekeeper_ng_test.py
+++ b/scripts/slave/unittests/gatekeeper_ng_test.py
@@ -2732,6 +2732,10 @@ class GatekeeperTest(unittest.TestCase):
self.call_gatekeeper(
json=os.path.join(SCRIPT_DIR, os.pardir, 'gatekeeper.json'))
+ def testCheckedInTreeConfigIsValid(self): # pylint: disable=R0201
+ tree_config = os.path.join(SCRIPT_DIR, os.pardir, 'gatekeeper_trees.json')
+ gatekeeper_ng_config.load_gatekeeper_tree_config(tree_config)
+
if __name__ == '__main__':
with utils.print_coverage(include=[__file__]):
« no previous file with comments | « scripts/slave/gatekeeper_ng_config.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698