We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a298a commit 16be604Copy full SHA for 16be604
tests/test_api.py
@@ -4,7 +4,7 @@
4
from collections.abc import AsyncGenerator
5
from queue import Queue
6
from typing import Any
7
-from unittest.mock import patch
+from unittest.mock import AsyncMock, patch
8
9
import paho.mqtt.client as mqtt
10
import pytest
@@ -36,7 +36,7 @@
36
37
38
def test_can_create_prepared_request():
39
- PreparedRequest("https://sample.com")
+ PreparedRequest("https://sample.com", AsyncMock())
40
41
42
async def test_can_create_mqtt_roborock():
0 commit comments