aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Balana <sbalana@google.com>2023-09-02 15:10:46 -0700
committerGitHub <noreply@github.com>2023-09-02 15:10:46 -0700
commit539a442ed0a396ceec1dfd692f452ddf1380a872 (patch)
treea6a571cfa76eddb4990e6c61c19f116062e7d337
parent6392f83acf512fb9e3a9229858bf9fd26e9d7278 (diff)
downloadmobly-539a442ed0a396ceec1dfd692f452ddf1380a872.tar.gz
Remove unused imports (#892)
-rw-r--r--mobly/controllers/attenuator.py1
-rw-r--r--mobly/controllers/iperf_server.py1
-rw-r--r--mobly/controllers/sniffer_lib/local/local_base.py1
-rwxr-xr-xtests/mobly/suite_runner_test.py3
-rwxr-xr-xtests/mobly/test_runner_test.py2
5 files changed, 0 insertions, 8 deletions
diff --git a/mobly/controllers/attenuator.py b/mobly/controllers/attenuator.py
index eebc0e4..d666227 100644
--- a/mobly/controllers/attenuator.py
+++ b/mobly/controllers/attenuator.py
@@ -33,7 +33,6 @@ Sample Config:
]
"""
import importlib
-import logging
MOBLY_CONTROLLER_CONFIG_NAME = "Attenuator"
# Keys used inside a config dict for attenuator.
diff --git a/mobly/controllers/iperf_server.py b/mobly/controllers/iperf_server.py
index e4dcb81..f8ebde9 100644
--- a/mobly/controllers/iperf_server.py
+++ b/mobly/controllers/iperf_server.py
@@ -16,7 +16,6 @@ import io
import json
import logging
import os
-import subprocess
from mobly import utils
diff --git a/mobly/controllers/sniffer_lib/local/local_base.py b/mobly/controllers/sniffer_lib/local/local_base.py
index a9fb673..8ccf517 100644
--- a/mobly/controllers/sniffer_lib/local/local_base.py
+++ b/mobly/controllers/sniffer_lib/local/local_base.py
@@ -20,7 +20,6 @@ the actual capture (sniff) to sub-classes.
import os
import shutil
-import signal
import subprocess
import tempfile
from mobly import logger
diff --git a/tests/mobly/suite_runner_test.py b/tests/mobly/suite_runner_test.py
index dabf74f..2f80d90 100755
--- a/tests/mobly/suite_runner_test.py
+++ b/tests/mobly/suite_runner_test.py
@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-import inspect
import io
import os
import shutil
@@ -23,8 +22,6 @@ from unittest import mock
from mobly import base_suite
from mobly import base_test
-from mobly import config_parser
-from mobly import test_runner
from mobly import suite_runner
from tests.lib import integration2_test
from tests.lib import integration_test
diff --git a/tests/mobly/test_runner_test.py b/tests/mobly/test_runner_test.py
index 0343e0d..42aee49 100755
--- a/tests/mobly/test_runner_test.py
+++ b/tests/mobly/test_runner_test.py
@@ -17,7 +17,6 @@ import logging
import os
import re
import shutil
-import sys
import tempfile
import unittest
from unittest import mock
@@ -26,7 +25,6 @@ from mobly import config_parser
from mobly import records
from mobly import signals
from mobly import test_runner
-from mobly import utils
from tests.lib import mock_android_device
from tests.lib import mock_controller
from tests.lib import integration_test