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

Unified Diff: tools/chrome_proxy/webdriver/smoke.py

Issue 2823253002: Refactor decorators into thier own python class (Closed)
Patch Set: Forgot to add new decorators class Created 3 years, 8 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/chrome_proxy/webdriver/smoke.py
diff --git a/tools/chrome_proxy/webdriver/smoke.py b/tools/chrome_proxy/webdriver/smoke.py
index f29dc235a850ca8dd162d0137cebaf392dd9f0bd..ad799d649de81e396195aa8c3ddca731594c7f18 100644
--- a/tools/chrome_proxy/webdriver/smoke.py
+++ b/tools/chrome_proxy/webdriver/smoke.py
@@ -6,7 +6,7 @@ import common
import time
from common import TestDriver
from common import IntegrationTest
-from common import NotAndroid
+from decorators import NotAndroid
class Smoke(IntegrationTest):
@@ -21,7 +21,7 @@ class Smoke(IntegrationTest):
t.LoadURL('http://check.googlezip.net/test.html')
for response in t.GetHTTPResponses():
self.assertNotHasChromeProxyViaHeader(response)
-
+
# Ensure Chrome uses DataSaver in normal mode.
def testCheckPageWithNormalMode(self):
with TestDriver() as t:
@@ -85,7 +85,7 @@ class Smoke(IntegrationTest):
responses = t.GetHTTPResponses()
self.assertNotEqual(0, len(responses))
for response in responses:
- self.assertHasChromeProxyViaHeader(response)
+ self.assertHasChromeProxyViaHeader(response)
if __name__ == '__main__':
IntegrationTest.RunAllTests()

Powered by Google App Engine
This is Rietveld 408576698