def METHOD_NAME():
    """test retire_users command blocking emails success with more than one user"""
    test_usernames = ["foo", "bar", "baz"]
    for username in test_usernames:
        user = UserFactory.create(username=username, is_active=True)
        UserSocialAuthFactory.create(user=user, provider="not_edx")
        assert user.is_active is True
        assert "retired_email" not in user.email
        assert UserSocialAuth.objects.filter(user=user).count() == 1
        assert BlockList.objects.all().count() == 0
    COMMAND.handle("retire_users", users=test_usernames, block_users=True)
    for user_name in test_usernames:
        user = User.objects.get(username=user_name)
        assert user.is_active is False
        assert "retired_email" in user.email
        assert UserSocialAuth.objects.filter(user=user).count() == 0
    assert BlockList.objects.all().count() == 3