💚 Fix pytest

This commit is contained in:
xtaodada 2022-11-04 18:07:11 +08:00
parent 15bc2b2724
commit acd7e352fd
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -37,9 +37,9 @@ class ConfigUser(BaseModel):
class MySqlConfig(Settings): class MySqlConfig(Settings):
host: str = "127.0.0.1" host: str = "127.0.0.1"
port: int = 3306 port: int = 3306
username: str username: str = None
password: str password: str = None
database: str database: str = None
class Config(Settings.Config): class Config(Settings.Config):
env_prefix = "db_" env_prefix = "db_"