def makedict(names, default=None):
    return dict.fromkeys(names.split(','), default)
Check that groups_for_user returns correct values as per
dataset/ETHPy150Open Evgenus/protocyt/protocyt/classes.py/makedict--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/auth/tests/test_handlers.py/ModWsgiHandlerTestCase.test_groups_for_user