def _parse_auth(auth):
    if not auth:
        return None
    items = auth.split(',')
    return dict(i.strip().split(':', 1) for i in items)
Parse auth string and return dict.
dataset/ETHPy150Open ericholscher/django-test-utils/test_utils/management/commands/crawlurls.py/_parse_auth