Skip to content

Commit 1feb071

Browse files
committed
Added missing @pytest.mark.asyncio in tests
1 parent dfc55d4 commit 1feb071

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/api/test_httpclient.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,7 @@ async def test_get_custom_urls(self, mocker):
223223
assert get_mock.mock_calls == [call]
224224

225225

226+
@pytest.mark.asyncio
226227
async def test_post(self, mocker):
227228
"""Test HTTP POST verb requests."""
228229
response_mock = MockResponse('ok', 200, {})
@@ -255,6 +256,7 @@ async def test_post(self, mocker):
255256
assert response.body == 'ok'
256257
assert get_mock.mock_calls == [call]
257258

259+
@pytest.mark.asyncio
258260
async def test_post_custom_urls(self, mocker):
259261
"""Test HTTP GET verb requests."""
260262
response_mock = MockResponse('ok', 200, {})

0 commit comments

Comments
 (0)