File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3
3
from __future__ import annotations
4
4
5
5
import asyncio
6
-
6
+ import inspect
7
7
from collections .abc import AsyncGenerator
8
8
from unittest .mock import AsyncMock , Mock , patch
9
+
10
+ import aiohttp
9
11
import pytest
10
12
import pytest_asyncio
11
- import aiohttp
12
- from aiohttp import web , ClientSession
13
+ from aiohttp import ClientSession , web
13
14
from lxml import etree
15
+
14
16
from onvif .client import AsyncTransportProtocolErrorHandler
15
17
from onvif .zeep_aiohttp import AIOHTTPTransport
16
18
@@ -364,7 +366,6 @@ async def test_post_xml_decorator_is_applied() -> None:
364
366
"""Verify that the post_xml method has the retry decorator applied."""
365
367
366
368
# Check that AsyncTransportProtocolErrorHandler.post_xml has the decorator
367
- import inspect
368
369
369
370
# The decorated function will have been wrapped
370
371
# Check if the function has the expected decorator behavior
You can’t perform that action at this time.
0 commit comments