def test_follower_cascading_delete(follower):
    assert KeyPair.objects.get(owner=follower)

    follower.delete()

    with raises(KeyPair.DoesNotExist):
        KeyPair.objects.get(owner=follower)
Iterate current object's all parents.
dataset/ETHPy150Open pytent/pytentd/tentd/tests/documents/test_auth.py/test_follower_cascading_delete--crossover with--dataset/ETHPy150Open tonyseek/simple-rbac/rbac/acl.py/get_parents