def METHOD_NAME(self):
    examples = [
        ("a.b-c@example.com", "a.b-c"),
        ("Üsêrnamê", "username"),
        ("User Name", "user_name"),
        ("", "user"),
    ]
    for input, username in examples:
        self.assertEqual(utils.generate_unique_username([input]), username)