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

Unified Diff: telemetry/examples/browser_tests/simple_sharding_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_sharding_test.py
diff --git a/telemetry/examples/browser_tests/simple_sharding_test.py b/telemetry/examples/browser_tests/simple_sharding_test.py
index 0a4ea8719f4e7433fd5ae8f8677b1c1d84472575..fdb78a9a53c9ae1ffb5b474e258e6066fad0307a 100644
--- a/telemetry/examples/browser_tests/simple_sharding_test.py
+++ b/telemetry/examples/browser_tests/simple_sharding_test.py
@@ -2,6 +2,8 @@
# 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
@@ -25,3 +27,9 @@ class SimpleShardingTest(
def PassingTest(self, a):
self.assertGreaterEqual(a, 0)
+
+
+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