mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
Fix pytest_socket error
This commit is contained in:
parent
e9134bb43f
commit
89477eb952
@ -27,7 +27,8 @@ from kasa.transports.sslaestransport import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Transport tests are not designed for real devices
|
# Transport tests are not designed for real devices
|
||||||
pytestmark = [pytest.mark.requires_dummy]
|
# SslAesTransport use a socket to get it's own ip address
|
||||||
|
pytestmark = [pytest.mark.requires_dummy, pytest.mark.enable_socket]
|
||||||
|
|
||||||
MOCK_ADMIN_USER = get_default_credentials(DEFAULT_CREDENTIALS["TAPOCAMERA"]).username
|
MOCK_ADMIN_USER = get_default_credentials(DEFAULT_CREDENTIALS["TAPOCAMERA"]).username
|
||||||
MOCK_PWD = "correct_pwd" # noqa: S105
|
MOCK_PWD = "correct_pwd" # noqa: S105
|
||||||
|
Loading…
Reference in New Issue
Block a user