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

Side by Side Diff: chrome/test/telemetry/chromeos/login_unittest.py

Issue 1029263003: [telemetry] Sort imports in Telemetry and its dependents. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Ensure we're up to date. Created 5 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/memory_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 import json 4 import json
5 import logging 5 import logging
6 import os 6 import os
7 import unittest 7 import unittest
8 8
9 from telemetry.core.backends.chrome import cros_interface
9 from telemetry.core import browser_finder 10 from telemetry.core import browser_finder
10 from telemetry.core import exceptions 11 from telemetry.core import exceptions
11 from telemetry.core import extension_to_load 12 from telemetry.core import extension_to_load
12 from telemetry.core import util 13 from telemetry.core import util
13 from telemetry.core.backends.chrome import cros_interface
14 from telemetry.unittest import options_for_unittests 14 from telemetry.unittest import options_for_unittests
15 15
16 class CrOSAutoTest(unittest.TestCase): 16 class CrOSAutoTest(unittest.TestCase):
17 def setUp(self): 17 def setUp(self):
18 options = options_for_unittests.GetCopy() 18 options = options_for_unittests.GetCopy()
19 self._cri = cros_interface.CrOSInterface(options.cros_remote, 19 self._cri = cros_interface.CrOSInterface(options.cros_remote,
20 options.cros_ssh_identity) 20 options.cros_ssh_identity)
21 self._is_guest = options.browser_type == 'cros-chrome-guest' 21 self._is_guest = options.browser_type == 'cros-chrome-guest'
22 self._username = '' if self._is_guest else options.browser_options.username 22 self._username = '' if self._is_guest else options.browser_options.username
23 self._password = options.browser_options.password 23 self._password = options.browser_options.password
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 'countries.')), 315 'countries.')),
316 Region('se', 'xkb:se::swe', 'Europe/Stockholm', 'sv', _KML.ISO, 'Sweden', 316 Region('se', 'xkb:se::swe', 'Europe/Stockholm', 'sv', _KML.ISO, 'Sweden',
317 ("Use this if there separate SKUs for Nordic countries (Sweden, " 317 ("Use this if there separate SKUs for Nordic countries (Sweden, "
318 "Norway, and Denmark), or the device is only shipping to Sweden. " 318 "Norway, and Denmark), or the device is only shipping to Sweden. "
319 "If there is a single unified SKU, use 'nordic' instead.")), 319 "If there is a single unified SKU, use 'nordic' instead.")),
320 Region('sg', 'xkb:us::eng', 'Asia/Singapore', 'en-GB', _KML.ANSI, 320 Region('sg', 'xkb:us::eng', 'Asia/Singapore', 'en-GB', _KML.ANSI,
321 'Singapore'), 321 'Singapore'),
322 Region('us', 'xkb:us::eng', 'America/Los_Angeles', 'en-US', _KML.ANSI, 322 Region('us', 'xkb:us::eng', 'America/Los_Angeles', 'en-US', _KML.ANSI,
323 'United States'), 323 'United States'),
324 ] 324 ]
OLDNEW
« no previous file with comments | « no previous file | content/test/gpu/gpu_tests/memory_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698