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

Unified Diff: telemetry/telemetry/internal/platform/android_platform_backend_unittest.py

Issue 2988563002: Fixed errors related to bad-continuation (Closed)
Patch Set: Removed pylintrc changes Created 3 years, 5 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: telemetry/telemetry/internal/platform/android_platform_backend_unittest.py
diff --git a/telemetry/telemetry/internal/platform/android_platform_backend_unittest.py b/telemetry/telemetry/internal/platform/android_platform_backend_unittest.py
index 84cea35d66580db9b7eee56a1b9fe7a03eed7bdf..9ccc28520a87df40c728d2ee4efa738a85140e45 100644
--- a/telemetry/telemetry/internal/platform/android_platform_backend_unittest.py
+++ b/telemetry/telemetry/internal/platform/android_platform_backend_unittest.py
@@ -101,19 +101,19 @@ class AndroidPlatformBackendTest(unittest.TestCase):
@decorators.Disabled('chromeos', 'mac', 'win')
def testAndroidParseCpuStates(self):
cstate = {
- 'cpu0': 'C0\nC1\n103203424\n5342040\n300\n500\n1403232500',
- 'cpu1': 'C0\n124361858\n300\n1403232500'
+ 'cpu0': 'C0\nC1\n103203424\n5342040\n300\n500\n1403232500',
+ 'cpu1': 'C0\n124361858\n300\n1403232500'
}
expected_cstate = {
- 'cpu0': {
- 'WFI': 103203424,
- 'C0': 1403232391454536,
- 'C1': 5342040
- },
- 'cpu1': {
- 'WFI': 124361858,
- 'C0': 1403232375638142
- }
+ 'cpu0': {
+ 'WFI': 103203424,
+ 'C0': 1403232391454536,
+ 'C1': 5342040
+ },
+ 'cpu1': {
+ 'WFI': 124361858,
+ 'C0': 1403232375638142
+ }
}
# Use mock start and end times to allow for the test to calculate C0.
result = android_platform_backend.AndroidPlatformBackend.ParseCStateSample(
« no previous file with comments | « telemetry/telemetry/internal/platform/android_device_unittest.py ('k') | telemetry/telemetry/internal/platform/gpu_device.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698