diff options
Diffstat (limited to 'buildscripts/tests')
6 files changed, 6 insertions, 11 deletions
diff --git a/buildscripts/tests/resmokelib/end2end/test_resmoke.py b/buildscripts/tests/resmokelib/end2end/test_resmoke.py index 60701b7eb8b..a47529e914d 100644 --- a/buildscripts/tests/resmokelib/end2end/test_resmoke.py +++ b/buildscripts/tests/resmokelib/end2end/test_resmoke.py @@ -3,15 +3,12 @@ import logging import os import os.path -import subprocess import sys import time import unittest -import psutil - -from buildscripts.resmokelib.utils import rmtree from buildscripts.resmokelib import core +from buildscripts.resmokelib.utils import rmtree # pylint: disable=missing-docstring,protected-access diff --git a/buildscripts/tests/resmokelib/hang_analyzer/test_process_list.py b/buildscripts/tests/resmokelib/hang_analyzer/test_process_list.py index 28c65e7cb5a..d38dd51e026 100644 --- a/buildscripts/tests/resmokelib/hang_analyzer/test_process_list.py +++ b/buildscripts/tests/resmokelib/hang_analyzer/test_process_list.py @@ -1,6 +1,5 @@ """Unit tests for the buildscripts.resmokelib.hang_analyzer.process_list module.""" -import logging import unittest from mock import Mock, patch diff --git a/buildscripts/tests/resmokelib/test_parser.py b/buildscripts/tests/resmokelib/test_parser.py index ca0850e606b..b9fc74f088b 100644 --- a/buildscripts/tests/resmokelib/test_parser.py +++ b/buildscripts/tests/resmokelib/test_parser.py @@ -2,8 +2,8 @@ import unittest -from buildscripts.resmokelib.run import to_local_args from buildscripts.resmokelib.parser import parse, parse_command_line +from buildscripts.resmokelib.run import to_local_args # pylint: disable=missing-docstring diff --git a/buildscripts/tests/resmokelib/test_selector.py b/buildscripts/tests/resmokelib/test_selector.py index cf1a42b973f..05d0df2146d 100644 --- a/buildscripts/tests/resmokelib/test_selector.py +++ b/buildscripts/tests/resmokelib/test_selector.py @@ -1,14 +1,14 @@ """Unit tests for the buildscripts.resmokelib.selector module.""" -import sys import fnmatch import os.path +import sys import unittest +import buildscripts.resmokelib.config import buildscripts.resmokelib.parser as parser import buildscripts.resmokelib.selector as selector import buildscripts.resmokelib.utils.globstar as globstar -import buildscripts.resmokelib.config # pylint: disable=missing-docstring,protected-access diff --git a/buildscripts/tests/resmokelib/test_suitesconfig.py b/buildscripts/tests/resmokelib/test_suitesconfig.py index e7ce3f2d776..31f65e40612 100644 --- a/buildscripts/tests/resmokelib/test_suitesconfig.py +++ b/buildscripts/tests/resmokelib/test_suitesconfig.py @@ -4,8 +4,9 @@ import unittest import mock -from buildscripts.resmokelib import suitesconfig from buildscripts.resmokelib import parser +from buildscripts.resmokelib import suitesconfig + parser.set_run_options() # pylint: disable=missing-docstring diff --git a/buildscripts/tests/resmokelib/testing/testcases/test_pytest.py b/buildscripts/tests/resmokelib/testing/testcases/test_pytest.py index 9b5d00b18cc..6d349564abb 100644 --- a/buildscripts/tests/resmokelib/testing/testcases/test_pytest.py +++ b/buildscripts/tests/resmokelib/testing/testcases/test_pytest.py @@ -3,8 +3,6 @@ import logging import sys import unittest -from mock import MagicMock, patch - from buildscripts.resmokelib.testing.testcases import pytest _IS_WINDOWS = sys.platform == "win32" |