diff --git a/tests/rules/test_ssh_known_host.py b/tests/rules/test_ssh_known_host.py index d713acc..f2828a3 100644 --- a/tests/rules/test_ssh_known_host.py +++ b/tests/rules/test_ssh_known_host.py @@ -1,6 +1,5 @@ import os import pytest -from mock import Mock from thefuck.rules.ssh_known_hosts import match, get_new_command,\ side_effect from tests.utils import Command diff --git a/tests/rules/test_systemctl.py b/tests/rules/test_systemctl.py index c16b1eb..eb9a270 100644 --- a/tests/rules/test_systemctl.py +++ b/tests/rules/test_systemctl.py @@ -1,4 +1,3 @@ -import pytest from thefuck.rules.systemctl import match, get_new_command from tests.utils import Command diff --git a/tests/specific/test_sudo.py b/tests/specific/test_sudo.py index bbc3d36..2b99eb7 100644 --- a/tests/specific/test_sudo.py +++ b/tests/specific/test_sudo.py @@ -1,5 +1,4 @@ import pytest -from mock import Mock from thefuck.specific.sudo import sudo_support from tests.utils import Command diff --git a/tests/test_logs.py b/tests/test_logs.py index 4b585ee..59aefd2 100644 --- a/tests/test_logs.py +++ b/tests/test_logs.py @@ -1,5 +1,4 @@ import pytest -from mock import Mock from thefuck import logs diff --git a/thefuck/specific/sudo.py b/thefuck/specific/sudo.py index 9941183..ddc6d40 100644 --- a/thefuck/specific/sudo.py +++ b/thefuck/specific/sudo.py @@ -1,6 +1,5 @@ import six from decorator import decorator -from ..types import Command @decorator