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 33from __future__ import annotations
44
55import asyncio
6-
6+ import inspect
77from collections .abc import AsyncGenerator
88from unittest .mock import AsyncMock , Mock , patch
9+
10+ import aiohttp
911import pytest
1012import pytest_asyncio
11- import aiohttp
12- from aiohttp import web , ClientSession
13+ from aiohttp import ClientSession , web
1314from lxml import etree
15+
1416from onvif .client import AsyncTransportProtocolErrorHandler
1517from onvif .zeep_aiohttp import AIOHTTPTransport
1618
@@ -364,7 +366,6 @@ async def test_post_xml_decorator_is_applied() -> None:
364366 """Verify that the post_xml method has the retry decorator applied."""
365367
366368 # Check that AsyncTransportProtocolErrorHandler.post_xml has the decorator
367- import inspect
368369
369370 # The decorated function will have been wrapped
370371 # Check if the function has the expected decorator behavior
You can’t perform that action at this time.
0 commit comments