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

Unified Diff: telemetry/examples/browser_tests/simple_numeric_test.py

Issue 2562913003: Move browser_test_runner.LoadAllTestsInModule to serially_executed_browser_test_case (Closed)
Patch Set: Fix test Created 4 years 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: telemetry/examples/browser_tests/simple_numeric_test.py
diff --git a/telemetry/examples/browser_tests/simple_numeric_test.py b/telemetry/examples/browser_tests/simple_numeric_test.py
index d994cb52183004e9ccdeb06bab44e9a62025ee3b..e301a1b1fce44dc9c00bde6a1751dcbe087bc081 100644
--- a/telemetry/examples/browser_tests/simple_numeric_test.py
+++ b/telemetry/examples/browser_tests/simple_numeric_test.py
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import string
+import sys
import time
from telemetry.testing import serially_executed_browser_test_case
@@ -73,3 +74,9 @@ class SimpleTest(
def TestException(self):
raise Exception('Expected exception')
+
+
+def load_tests(loader, tests, pattern):
+ del loader, tests, pattern # Unused.
+ return serially_executed_browser_test_case.LoadAllTestsInModule(
+ sys.modules[__name__])

Powered by Google App Engine
This is Rietveld 408576698