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

Unified Diff: tools/telemetry/telemetry/page/actions/loop_unittest.py

Issue 952693003: Telemetry: Move TimeoutException from util module to exceptions module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: tools/telemetry/telemetry/page/actions/loop_unittest.py
diff --git a/tools/telemetry/telemetry/page/actions/loop_unittest.py b/tools/telemetry/telemetry/page/actions/loop_unittest.py
index f7080f3228b0020368d246c9844f3b75276a7981..eb5ae02794ab358dabdda40ef671c7057a2ca056 100644
--- a/tools/telemetry/telemetry/page/actions/loop_unittest.py
+++ b/tools/telemetry/telemetry/page/actions/loop_unittest.py
@@ -3,7 +3,7 @@
# found in the LICENSE file.
from telemetry import decorators
-from telemetry.core import util
+from telemetry.core import exceptions
from telemetry.page.actions import loop
from telemetry.unittest_util import tab_test_case
@@ -49,4 +49,4 @@ class LoopActionTest(tab_test_case.TabTestCase):
timeout_in_seconds=1)
action.WillRunAction(self._tab)
self.assertFalse(self._tab.EvaluateJavaScript(VIDEO_1_LOOP_CHECK))
- self.assertRaises(util.TimeoutException, action.RunAction, self._tab)
+ self.assertRaises(exceptions.TimeoutException, action.RunAction, self._tab)

Powered by Google App Engine
This is Rietveld 408576698