diff --git a/meshtastic/tests/test_util.py b/meshtastic/tests/test_util.py index ac8fa15..236e787 100644 --- a/meshtastic/tests/test_util.py +++ b/meshtastic/tests/test_util.py @@ -652,9 +652,10 @@ def test_fuzz_fromStr(valstr): assert isinstance(result, str) def test_shorthex(): + """Test the shortest hex string representations""" result = fromStr('0x0') assert result == b'\x00' result = fromStr('0x5') assert result == b'\x05' result = fromStr('0xffff') - assert result == b'\xff\xff' \ No newline at end of file + assert result == b'\xff\xff'