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

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

Issue 1413883003: Add a presubmit script and pylintrc for content/test/gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address kbr's comments Created 5 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: content/test/gpu/gpu_tests/context_lost.py
diff --git a/content/test/gpu/gpu_tests/context_lost.py b/content/test/gpu/gpu_tests/context_lost.py
index 80002b0c0936701b4bfd86563b68af5481a93c44..433248901df3622f92d578c9942b6ac67ae36774 100644
--- a/content/test/gpu/gpu_tests/context_lost.py
+++ b/content/test/gpu/gpu_tests/context_lost.py
@@ -4,9 +4,9 @@
import os
import time
-import context_lost_expectations
-import gpu_test_base
-import path_util
+from gpu_tests import context_lost_expectations
+from gpu_tests import gpu_test_base
+from gpu_tests import path_util
from telemetry.core import exceptions
from telemetry.core import util
@@ -87,7 +87,7 @@ class ContextLostValidator(gpu_test_base.ValidatorBase):
# Reset the test's state.
tab.EvaluateJavaScript(
- 'window.domAutomationController.reset()');
+ 'window.domAutomationController.reset()')
# If we're running the GPU process crash test, we need the
# test to have fully reset before crashing the GPU process.
« no previous file with comments | « content/test/gpu/gpu_tests/cloud_storage_test_base.py ('k') | content/test/gpu/gpu_tests/context_lost_expectations.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698