Example #1
0
def test_lvmtag_encode(lvm_tag, encoded_tag):
    assert blockSD.lvmTagEncode(lvm_tag) == encoded_tag
Example #2
0
def test_lvmtag_roundtrip(lvm_tag):
    assert blockSD.lvmTagDecode(blockSD.lvmTagEncode(lvm_tag)) == lvm_tag