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

Unified Diff: scripts/master/unittests/master_gen_test.py

Issue 1153203003: Update buildbot_tool and builders.pyl templates to remove 'master_type'. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 5 years, 7 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/master/master_gen.py ('k') | scripts/tools/buildbot_tool.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/unittests/master_gen_test.py
diff --git a/scripts/master/unittests/master_gen_test.py b/scripts/master/unittests/master_gen_test.py
index c1680f133ca9533a0a71958b692ee9de3091db27..cd3808635af5625e55edc40fda847a0f5a3c5ea0 100755
--- a/scripts/master/unittests/master_gen_test.py
+++ b/scripts/master/unittests/master_gen_test.py
@@ -84,25 +84,6 @@ class PopulateBuildmasterConfigTest(unittest.TestCase):
finally:
os.remove(fp.name)
- def test_tryserver(self):
Dirk Pranke 2015/05/29 01:55:38 We'll add an equivalent test back in the follow up
- try:
- contents = SAMPLE_BUILDERS_PY.replace('waterfall', 'tryserver')
- fp = tempfile.NamedTemporaryFile(delete=False)
- fp.write(contents)
- fp.close()
-
- c = {}
- master_gen.PopulateBuildmasterConfig(c, fp.name, _FakeMaster)
-
- self.assertEqual(len(c['builders']), 1)
- self.assertEqual(c['builders'][0]['name'], 'Test Linux')
-
- self.assertEqual(len(c['change_source']), 0)
- self.assertEqual(len(c['schedulers']), 1)
- finally:
- os.remove(fp.name)
-
-
if __name__ == '__main__':
unittest.TestCase.maxDiff = None
« no previous file with comments | « scripts/master/master_gen.py ('k') | scripts/tools/buildbot_tool.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698