style: apply animal island theme to led panel
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ def main():
|
||||
try:
|
||||
import urllib.request as _urlreq
|
||||
html = _urlreq.urlopen(f'http://127.0.0.1:{port}/', timeout=5).read().decode()
|
||||
assert 'RGB LED 控制台' in html and '关闭全部' in html and 'oncount' in html
|
||||
assert 'RGB LED 岛屿控制台' in html and 'Animal-Island 风格面板' in html and '关闭全部' in html and 'oncount' in html
|
||||
leds = req(port, '/api/leds')
|
||||
names = [led['name'] for led in leds['leds']]
|
||||
assert leds['ok'] and names == ['blue:wan', 'green:wlan', 'red:power']
|
||||
|
||||
Reference in New Issue
Block a user