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

Unified Diff: scripts/slave/unittests/expect_tests/__init__.py

Issue 354913003: Add module discovery and autoloading to expect_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Fix formatting + comment Created 6 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 side-by-side diff with in-line comments
Download patch
Index: scripts/slave/unittests/expect_tests/__init__.py
diff --git a/scripts/slave/unittests/expect_tests/__init__.py b/scripts/slave/unittests/expect_tests/__init__.py
index 53136698f211351827857599e8943877d8db1122..177bfa9a1dd7bc72edc9e69d9ed83b0e0e28d146 100644
--- a/scripts/slave/unittests/expect_tests/__init__.py
+++ b/scripts/slave/unittests/expect_tests/__init__.py
@@ -3,7 +3,16 @@
# found in the LICENSE file.
from .main import main
-from .type_definitions import Test, Result, FuncCall, Bind
-from .unittest_helper import UnitTestModule, UnittestTestCase
+from .main import ALL_MODULES
+
+from .type_definitions import Test
+from .type_definitions import Result
+from .type_definitions import FuncCall
+from .type_definitions import Bind
+from .type_definitions import Cleanup
+
+from .unittest_helper import UnittestTestCase
+from .unittest_helper import UnitTestModule
from .util import covers
+from .util import test_generator
« no previous file with comments | « no previous file | scripts/slave/unittests/expect_tests/cover.py » ('j') | scripts/slave/unittests/expect_tests/util.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698