示例#1
0
def cf():
    return ClamyFernet(key=KEYS[0])
示例#2
0
def test_clamyfernet_no_args(rcf):
    tmp_cf = ClamyFernet()
    assert tmp_cf.key is not None
    assert tmp_cf.password == b"pybites"
示例#3
0
def rcf():
    password = b"#clamybite"
    key = choice(KEYS)
    return ClamyFernet(password, key)