Skip to content

Commit 16be604

Browse files
committed
fix: test
1 parent f3a298a commit 16be604

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_api.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from collections.abc import AsyncGenerator
55
from queue import Queue
66
from typing import Any
7-
from unittest.mock import patch
7+
from unittest.mock import AsyncMock, patch
88

99
import paho.mqtt.client as mqtt
1010
import pytest
@@ -36,7 +36,7 @@
3636

3737

3838
def test_can_create_prepared_request():
39-
PreparedRequest("https://sample.com")
39+
PreparedRequest("https://sample.com", AsyncMock())
4040

4141

4242
async def test_can_create_mqtt_roborock():

0 commit comments

Comments
 (0)