def make_digest(app, global_conf, realm, authfunc, **kw):
    from paste.util.import_string import eval_import
    import types
    authfunc = eval_import(authfunc)
    assert isinstance(authfunc, types.FunctionType), "authfunc must resolve to a function"
    return AuthDigestHandler(app, realm, authfunc)
Test the situation where we have multiple adminareas with the same name
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Paste-2.0.1/paste/auth/digest.py/make_digest--crossover with--dataset/ETHPy150Open dokterbob/satchmo/satchmo/apps/tax/tests.py/TaxTest.testDuplicateAdminAreas