mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-29 07:52:42 +00:00
Fix test framework running against real devices (#1235)
This commit is contained in:
@@ -27,6 +27,9 @@ from kasa.experimental.sslaestransport import (
|
||||
from kasa.httpclient import HttpClient
|
||||
from kasa.protocol import DEFAULT_CREDENTIALS, get_default_credentials
|
||||
|
||||
# Transport tests are not designed for real devices
|
||||
pytestmark = [pytest.mark.requires_dummy]
|
||||
|
||||
MOCK_ADMIN_USER = get_default_credentials(DEFAULT_CREDENTIALS["TAPOCAMERA"]).username
|
||||
MOCK_PWD = "correct_pwd" # noqa: S105
|
||||
MOCK_USER = "mock@example.com"
|
||||
|
||||
Reference in New Issue
Block a user