def test_set_key_directly(testbed):
    account = snippets.Account()
    snippets.set_key_directly(account)
    assert account.key.id() == '*****@*****.**'
Exemple #2
0
def test_set_key_directly(testbed):
    account = snippets.Account()
    snippets.set_key_directly(account)
    if account.key.id() != '*****@*****.**':
        raise AssertionError