Skip to content

Commit

Permalink
tests: remove unused variable, fix import order
Browse files Browse the repository at this point in the history
  • Loading branch information
fphammerle committed Jan 19, 2025
1 parent a70d3d7 commit 646a513
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dbus/message-generators/test_service_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.

import typing
import unittest.mock

import pytest
import jeepney.io.asyncio
import jeepney.low_level
import typing

import systemctl_mqtt

Expand Down Expand Up @@ -91,7 +91,7 @@ def test__restart_unit_method_call():

def test_restart_unit_with_exception():
mock_proxy = unittest.mock.MagicMock()
mock_proxy.RestartUnit.side_effect = side_effect = DBusErrorResponseMock(
mock_proxy.RestartUnit.side_effect = DBusErrorResponseMock(
"DBus error", ("mocked",)
)
with unittest.mock.patch(
Expand Down

0 comments on commit 646a513

Please sign in to comment.