Ejemplo n.º 1
0
def test__verify_bytestring_pass():
    raw2text.verify_bytestring(b"bytestring")
Ejemplo n.º 2
0
def test__verify_bytestring_fail(wrong_arg):
    with pytest.raises(AssertionError):
        raw2text.verify_bytestring(wrong_arg)