mirror of
https://github.com/meshtastic/python.git
synced 2026-01-05 14:27:54 -05:00
please pylint with a docstring and newline
This commit is contained in:
@@ -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'
|
||||
assert result == b'\xff\xff'
|
||||
|
||||
Reference in New Issue
Block a user