style: import order and lines too long

ref: N25B-217
This commit is contained in:
Twirre Meulenbelt
2025-11-05 12:34:30 +01:00
parent 2c867adce2
commit f854a60e46
5 changed files with 20 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
from unittest.mock import AsyncMock, patch
from unittest.mock import AsyncMock
import pytest
from fastapi import FastAPI
@@ -27,9 +27,9 @@ def client(app):
def test_receive_command_success(client):
"""
Test for successful reception of a command.
Ensures the status code is 202 and the response body is correct.
It also verifies that the ZeroMQ socket's send_multipart method is called with the expected data.
Test for successful reception of a command. Ensures the status code is 202 and the response body
is correct. It also verifies that the ZeroMQ socket's send_multipart method is called with the
expected data.
"""
# Arrange
mock_pub_socket = AsyncMock()