@pytest.mark.django_db
def test_purge_user(en_tutorial_po_member_updated, member, evil_member):
 _test_user_purging(en_tutorial_po_member_updated, member, evil_member, (lambda m: accounts.utils.UserPurger(m).purge()))

@ pytest . mark . django_db def test_purge_user ( en_tutorial_po_member_updated , member , evil_member ) : _test_user_purging ( en_tutorial_po_member_updated , member , evil_member , ( lambda m : accounts . utils . UserPurger ( m ) . purge ( ) ) )
test purging user using purge_user function .