mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-23 13:10:11 +00:00
Move transports into their own package (#1247)
This moves all transport implementations into a new `transports` package for cleaner main package & easier to understand project structure.
This commit is contained in:
@@ -18,7 +18,6 @@ from cryptography.hazmat.primitives.asymmetric import padding as asymmetric_padd
|
||||
from freezegun.api import FrozenDateTimeFactory
|
||||
from yarl import URL
|
||||
|
||||
from kasa.aestransport import AesEncyptionSession, AesTransport, TransportState
|
||||
from kasa.credentials import Credentials
|
||||
from kasa.deviceconfig import DeviceConfig
|
||||
from kasa.exceptions import (
|
||||
@@ -28,6 +27,11 @@ from kasa.exceptions import (
|
||||
_ConnectionError,
|
||||
)
|
||||
from kasa.httpclient import HttpClient
|
||||
from kasa.transports.aestransport import (
|
||||
AesEncyptionSession,
|
||||
AesTransport,
|
||||
TransportState,
|
||||
)
|
||||
|
||||
pytestmark = [pytest.mark.requires_dummy]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user