Skip to content

Commit

Permalink
Rewrite test for M1S-T500
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernst79 committed Sep 5, 2021
1 parent 509b393 commit 7021bee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__pycache__
idea/
.idea/
.idea/workspace.xml
.idea/vcs.xml
.idea/inspectionProfiles/Project_Default.xml
3 changes: 2 additions & 1 deletion custom_components/ble_monitor/test/test_xiaomi_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ def test_Xiaomi_M1S_T500(self):
assert sensor_msg["mac"] == "E67143175B11"
assert sensor_msg["packet"] == 55
assert sensor_msg["data"]
assert sensor_msg["toothbrush mode"] == 3
assert sensor_msg["toothbrush"] == 1
assert sensor_msg["counter"] == 3
assert sensor_msg["rssi"] == -36

def test_Xiaomi_ZNMS16LM_fingerprint(self):
Expand Down

0 comments on commit 7021bee

Please sign in to comment.