Skip to content

Commit ebd3c7f

Browse files
committed
Add test for fromStr base64 branch
1 parent da0312a commit ebd3c7f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meshtastic/tests/test_util.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def test_fromStr():
6565
assert fromStr("123") == 123
6666
assert fromStr("abc") == "abc"
6767
assert fromStr("123456789") == 123456789
68+
assert fromStr("base64:Zm9vIGJhciBiYXo=") == b"foo bar baz"
6869

6970

7071
@pytest.mark.unitslow

0 commit comments

Comments
 (0)