def revoke_certs_by_user(user_id):
    admin = context.get_admin_context()
    for cert in db.certificate_get_all_by_user(admin, user_id):
        revoke_cert(cert['project_id'], cert['file_name'])
Don't show articles with unreviewed or rejected revs after latest
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/crypto.py/revoke_certs_by_user--crossover with--dataset/ETHPy150Open mozilla/kitsune/kitsune/dashboards/tests/test_readouts.py/UnreadyTests.test_unapproved_revs