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

Side by Side Diff: mojo/devtools/common/devtoolslib/doctests_unittest.py

Issue 1183703002: Wrap devtoolslib doctests in a unittest so that the test runner sees them. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Wraps the doctests in devtoolslib in a unittest, so that they are picked up
6 by our Python test runner."""
7
8 import doctest
9 from devtoolslib import shell_arguments
10
11
12 def load_tests(loader, tests, pattern):
13 del loader, pattern # Unused.
14 tests.addTests(doctest.DocTestSuite(shell_arguments))
15 return tests
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698