def parse_emails(emails):
    if not emails:
        return []

    email_tuples = []
    for email in emails.split(','):
        r = regex.match(email.strip())
        if r:
            email_tuples.append(r.groups())

    return email_tuples
Create test data.
dataset/ETHPy150Open djng/djng/server/core/env_utils.py/parse_emails--crossover with--dataset/ETHPy150Open tonioo/modoboa/modoboa/limits/tests/test_user_limits.py/PermissionsTestCase.setUpTestData