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

Side by Side Diff: recipe_engine/unittests/doc_test.py

Issue 1344583003: Recipe package system. (Closed) Base URL: git@github.com:luci/recipes-py.git@master
Patch Set: Recompiled proto Created 5 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 unified diff | Download patch
« no previous file with comments | « recipe_engine/types.py ('k') | recipe_engine/unittests/multi_repo_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 import os
7 import subprocess
8 import unittest
9
10 BASE_DIR = os.path.dirname(os.path.dirname(os.path.dirname(
11 os.path.abspath(__file__))))
12
13 class DocTest(unittest.TestCase):
14 def test_doc(self):
15 script_path = os.path.join(BASE_DIR, 'recipes.py')
16 exit_code = subprocess.call([
17 'python', script_path,
18 '--package', os.path.join(BASE_DIR, 'infra', 'config', 'recipes.cfg'),
19 'doc'])
20 self.assertEqual(0, exit_code)
21
22 if __name__ == '__main__':
23 unittest.TestCase.maxDiff = None
24 unittest.main()
OLDNEW
« no previous file with comments | « recipe_engine/types.py ('k') | recipe_engine/unittests/multi_repo_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698