diff --git a/pyHS100/tests/fakes.py b/pyHS100/tests/fakes.py index 21f6ca56..983cd519 100644 --- a/pyHS100/tests/fakes.py +++ b/pyHS100/tests/fakes.py @@ -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, diff --git a/pyHS100/tests/test_pyHS100.py b/pyHS100/tests/test_pyHS100.py index ed117e6c..d43dbc53 100644 --- a/pyHS100/tests/test_pyHS100.py +++ b/pyHS100/tests/test_pyHS100.py @@ -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