Index: tools/perf/profile_creators/cookie_profile_extender_unittest.py |
diff --git a/tools/perf/profile_creators/cookie_profile_extender_unittest.py b/tools/perf/profile_creators/cookie_profile_extender_unittest.py |
index 0dd4d01073452367a34bf3946d93410ebbdb3f7e..f2b0d29ac33ffc21df68124ab84e65beeab97cea 100644 |
--- a/tools/perf/profile_creators/cookie_profile_extender_unittest.py |
+++ b/tools/perf/profile_creators/cookie_profile_extender_unittest.py |
@@ -2,10 +2,15 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
import os |
-import sqlite3 |
import tempfile |
import unittest |
+try: |
+ import sqlite3 |
+except ImportError: |
+ sqlite3 = None |
cylee1
2015/05/04 11:16:59
How does it different from just "pass" since nobod
achuithb
2015/05/04 19:48:00
Done.
This test is running on the device, and sql
|
+ |
+from telemetry import decorators |
from profile_creators.cookie_profile_extender import CookieProfileExtender |
@@ -27,6 +32,7 @@ class CookieProfileExtenderTest(unittest.TestCase): |
connection.commit() |
connection.close() |
+ @decorators.Disabled('chromeos') # crbug.com/483212 |
def testCookieCount(self): |
# Neither tempfile.TemporaryFile() nor tempfile.NamedTemporaryFile() work |
# well here. The former doesn't work at all, since it doesn't gaurantee a |