summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2023-02-03 13:33:43 -0700
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-02-03 22:37:08 +0000
commitbb1bf345d928a602916bed6eefef4a317a577849 (patch)
tree35fc57378a9472c84a9450284090d7cb3d37f970 /test
parent989f9d24a097a8da7de10c5f765f3718597ac73c (diff)
downloadchrome-ec-bb1bf345d928a602916bed6eefef4a317a577849.tar.gz
ec: Use chromite isort config
Remove the .isort.cfg from platform/ec and use the one from chromite instead. This should be compatible with cros format. BRANCH=None BUG=b:267757300 TEST=Ran firmware_builder.py Change-Id: Ice4955b6995bd1f9380e97f58e89efb7c1e8aeb1 Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4221928 Auto-Submit: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Diffstat (limited to 'test')
-rwxr-xr-xtest/run_device_tests.py12
-rw-r--r--test/timer_jump.py1
2 files changed, 8 insertions, 5 deletions
diff --git a/test/run_device_tests.py b/test/run_device_tests.py
index a2277afd4f..6e89bb2452 100755
--- a/test/run_device_tests.py
+++ b/test/run_device_tests.py
@@ -40,24 +40,26 @@ Run the script on the remote machine:
import argparse
import concurrent
+from concurrent.futures.thread import ThreadPoolExecutor
+from dataclasses import dataclass
+from dataclasses import field
+from enum import Enum
import io
import logging
import os
+from pathlib import Path
import re
import socket
import subprocess
import sys
import time
-from concurrent.futures.thread import ThreadPoolExecutor
-from dataclasses import dataclass, field
-from enum import Enum
-from pathlib import Path
from typing import BinaryIO, Dict, List, Optional, Tuple
# pylint: disable=import-error
import colorama # type: ignore[import]
-import fmap
from contextlib2 import ExitStack
+import fmap
+
# pylint: enable=import-error
diff --git a/test/timer_jump.py b/test/timer_jump.py
index a4350cecdf..bd2310f3d7 100644
--- a/test/timer_jump.py
+++ b/test/timer_jump.py
@@ -7,6 +7,7 @@
import time
+
DELAY = 5
ERROR_MARGIN = 0.5