mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 11:13:34 +00:00
add hs100 tests
This commit is contained in:
parent
675f618777
commit
d648c6bd2b
@ -58,7 +58,7 @@ sysinfo_hs100 = {'system': {'get_sysinfo':
|
||||
'latitude': 12.2,
|
||||
'led_off': 0,
|
||||
'longitude': 12.2,
|
||||
'mac': '50:C7:BF:xx:xx:xx',
|
||||
'mac': '50:C7:BF:11:22:33',
|
||||
'model': 'HS100(EU)',
|
||||
'oemId': '812A90EB2FCF306A993FAD8748024B07',
|
||||
'on_time': 255419,
|
||||
|
@ -6,8 +6,9 @@ import re
|
||||
|
||||
from .. import SmartPlug, SmartDeviceException
|
||||
from .fakes import (FakeTransportProtocol,
|
||||
sysinfo_hs110,
|
||||
sysinfo_hs100,
|
||||
sysinfo_hs105,
|
||||
sysinfo_hs110,
|
||||
sysinfo_hs200)
|
||||
|
||||
PLUG_IP = '192.168.250.186'
|
||||
@ -250,6 +251,10 @@ class TestSmartPlugHS110(TestCase):
|
||||
# TODO check setting?
|
||||
|
||||
|
||||
class TestSmartPlugHS100(TestSmartPlugHS110):
|
||||
SYSINFO = sysinfo_hs100
|
||||
|
||||
|
||||
class TestSmartPlugHS200(TestSmartPlugHS110):
|
||||
SYSINFO = sysinfo_hs200
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user