Skip to content

Commit c31b451

Browse files
authored
Remove test for different packet formats
Removed the test for different packet formats and related comments.
1 parent e6c35bd commit c31b451

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

custom_components/ble_monitor/test/test_otodata_parser.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,3 @@ def test_otodata_invalid_data(self):
6161
# Parser should handle invalid data gracefully
6262
# Either return None or handle the error
6363
# Adjust assertion based on your implementation
64-
65-
def test_otodata_different_packet_formats(self):
66-
"""Test different packet formats if Otodata uses multiple formats."""
67-
# Some devices send different packet formats (e.g., short vs. long packets)
68-
# Add tests for each format your device uses
69-
pass
70-
71-
72-
# NOTE: To run these tests:
73-
# 1. Place this file in: custom_components/ble_monitor/test/
74-
# 2. Install test requirements: pip install -r requirements_test.txt
75-
# 3. Run tests: python -m pytest custom_components/ble_monitor/test/test_otodata_parser.py
76-
#
77-
# REMEMBER: You MUST replace the example data with actual BLE advertisements from your device!

0 commit comments

Comments
 (0)