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

Unified Diff: telemetry/telemetry/internal/actions/action_runner_unittest.py

Issue 2453073002: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor (Closed)
Patch Set: [Telemetry] Move from telemetry WaitFor to py_utils WaitFor Created 4 years, 2 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: telemetry/telemetry/internal/actions/action_runner_unittest.py
diff --git a/telemetry/telemetry/internal/actions/action_runner_unittest.py b/telemetry/telemetry/internal/actions/action_runner_unittest.py
index 90905b81e0bead3ffc0f4c2792ba0bbe181f21e5..a3d0c012b6e128be4f13dbcf69f64bbf7ab84200 100644
--- a/telemetry/telemetry/internal/actions/action_runner_unittest.py
+++ b/telemetry/telemetry/internal/actions/action_runner_unittest.py
@@ -14,6 +14,8 @@ from telemetry.timeline import model
from telemetry.timeline import tracing_config
from telemetry.web_perf import timeline_interaction_record as tir_module
+import py_utils
+
class ActionRunnerInteractionTest(tab_test_case.TabTestCase):
@@ -211,7 +213,7 @@ class ActionRunnerTest(tab_test_case.TabTestCase):
action_runner.WaitForElement('#test1', timeout_in_seconds=0.2)
def WaitForElement():
action_runner.WaitForElement(text='oo', timeout_in_seconds=0.2)
- self.assertRaises(exceptions.TimeoutException, WaitForElement)
+ self.assertRaises(py_utils.TimeoutException, WaitForElement)
def testClickElement(self):
self.Navigate('page_with_clickables.html')
« no previous file with comments | « telemetry/telemetry/core/util_unittest.py ('k') | telemetry/telemetry/internal/actions/load_media_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698