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

Unified Diff: content/test/gpu/gpu_tests/maps.py

Issue 2539973004: Update reference to page_test module to use legacy_page_test module (Closed)
Patch Set: update 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: content/test/gpu/gpu_tests/maps.py
diff --git a/content/test/gpu/gpu_tests/maps.py b/content/test/gpu/gpu_tests/maps.py
index a30e1256512d594676eb5c274309fbc60b1d6c38..51926a69e6071fddde43f29800a2e22841689d5b 100644
--- a/content/test/gpu/gpu_tests/maps.py
+++ b/content/test/gpu/gpu_tests/maps.py
@@ -15,7 +15,7 @@ from gpu_tests import maps_expectations
from gpu_tests import path_util
from telemetry.core import util
-from telemetry.page import page_test
+from telemetry.page import legacy_page_test
from telemetry import story as story_module
from telemetry.story import story_set as story_set_module
@@ -37,10 +37,11 @@ class MapsValidator(cloud_storage_test_base.ValidatorBase):
MapsValidator.SpinWaitOnRAF(tab, 3)
if not tab.screenshot_supported:
- raise page_test.Failure('Browser does not support screenshot capture')
+ raise legacy_page_test.Failure(
+ 'Browser does not support screenshot capture')
screenshot = tab.Screenshot(5)
if screenshot is None:
- raise page_test.Failure('Could not capture screenshot')
+ raise legacy_page_test.Failure('Could not capture screenshot')
dpr = tab.EvaluateJavaScript('window.devicePixelRatio')
print 'Maps\' devicePixelRatio is ' + str(dpr)
« no previous file with comments | « content/test/gpu/gpu_tests/hardware_accelerated_feature.py ('k') | content/test/gpu/gpu_tests/screenshot_sync.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698