def test_lvmtag_encode(lvm_tag, encoded_tag): assert blockSD.lvmTagEncode(lvm_tag) == encoded_tag
def test_lvmtag_roundtrip(lvm_tag): assert blockSD.lvmTagDecode(blockSD.lvmTagEncode(lvm_tag)) == lvm_tag