Skip to content

Commit ae797e3

Browse files
committed
chore: fix test fixture after merging
1 parent b52227e commit ae797e3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ async def local_client_fixture(mock_create_local_connection: None) -> AsyncGener
240240
model=home_data.products[0].model,
241241
host=TEST_LOCAL_API_HOST,
242242
)
243-
yield RoborockLocalClientV1(device_info, queue_timeout=QUEUE_TIMEOUT)
243+
client = RoborockLocalClientV1(device_info, queue_timeout=QUEUE_TIMEOUT)
244244
try:
245245
yield client
246246
finally:

tests/test_a01_api.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ async def a01_mqtt_client_fixture(
5252
device=home_data.devices[0],
5353
model=home_data.products[0].model,
5454
)
55-
client = RoborockMqttClientA01(user_data, device_info, RoborockCategory.WASHING_MACHINE, queue_timeout=QUEUE_TIMEOUT)
55+
client = RoborockMqttClientA01(
56+
user_data, device_info, RoborockCategory.WASHING_MACHINE, queue_timeout=QUEUE_TIMEOUT
57+
)
5658
try:
5759
yield client
5860
finally:

0 commit comments

Comments
 (0)