<NME> test_settings.py
<BEF> import os

# Database
# https://docs.djangoproject.com/en/2.2/ref/settings/#databases

DB = os.environ.get("DB", "postgres").lower()

if DB == "mysql":
    DATABASES = {
        "default": {
            "ENGINE": "django.db.backends.mysql",
            "NAME": "modoboa",
            "USER": os.environ.get("MYSQL_USER", "root"),
            "PASSWORD": os.environ.get("MYSQL_PASSWORD", "root"),
            "ENGINE": "django.db.backends.mysql",
            "NAME": "modoboa",
            "USER": "root",
            "PASSWORD": "Toto1234",
            "HOST": "localhost",
            "PORT": "",
            "ATOMIC_REQUESTS": True,
            # See:
            # https://docs.djangoproject.com/en/2.2/ref/databases/#mysql-sql-mode
            "OPTIONS": {
                "init_command": (
                    "SET sql_mode = 'STRICT_TRANS_TABLES';"
                    "SET innodb_strict_mode = ON;"
                ),
                "charset": "utf8",
                "connect_timeout": 10,
            },
            "TEST": {
                "CHARSET": "utf8",
                "COLLATION": "utf8_unicode_ci",
            },
        },
    }
elif DB == "sqlite":
    DATABASES = {
        "default": {
            "ENGINE": "django.db.backends.sqlite3",
            "NAME": "modoboa.db",
            "PORT": "",
            "ATOMIC_REQUESTS": True,
        },
    }
else:
    DATABASES = {
        "default": {
            "ENGINE": "django.db.backends.postgresql",
            "NAME": "modoboa",
            "USER": "postgres",
            "PASSWORD": "postgres",
            "HOST": "localhost",
            "PORT": os.environ.get("POSTGRES_PORT", "5432"),
            "ATOMIC_REQUESTS": True,
            "OPTIONS": {
                "client_encoding": "UTF8",
                "sslmode": "disable"
            },
            "TEST": {
                "CHARSET": "UTF8",
            },
        },
    }

<MSG> Revert wrong change.

<DFF> @@ -15,7 +15,7 @@ if DB == "MYSQL":
             "ENGINE": "django.db.backends.mysql",
             "NAME": "modoboa",
             "USER": "root",
-            "PASSWORD": "Toto1234",
+            "PASSWORD": "",
             "HOST": "localhost",
             "PORT": "",
             "ATOMIC_REQUESTS": True,

Revert wrong change.