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

Unified Diff: telemetry/examples/browser_tests/failed_tests.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
« no previous file with comments | « no previous file | telemetry/examples/browser_tests/simple_browser_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/examples/browser_tests/failed_tests.py
diff --git a/telemetry/examples/browser_tests/failed_tests.py b/telemetry/examples/browser_tests/failed_tests.py
index 3c9a1b9a98970bb83b606c0030e6c0ef18da6798..42c00dcb63e948fc92640237487166c142cafe60 100644
--- a/telemetry/examples/browser_tests/failed_tests.py
+++ b/telemetry/examples/browser_tests/failed_tests.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import sys
from telemetry.testing import serially_executed_browser_test_case
@@ -38,3 +39,9 @@ class TearDownClassFailedTest(
def DummyTest(self):
pass
+
+
+def load_tests(loader, tests, pattern):
+ del loader, tests, pattern # Unused.
Dirk Pranke 2016/12/11 03:23:01 Nit: maybe use a pylint annotation here instead?
nednguyen 2016/12/11 13:01:44 This is our preferred pattern: go/del-for-unused (
+ return serially_executed_browser_test_case.LoadAllTestsInModule(
+ sys.modules[__name__])
« no previous file with comments | « no previous file | telemetry/examples/browser_tests/simple_browser_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698