def test_constructor_sqlite():
    """Test DBConfig.sqlite constructor create the instance correctly."""
    db_config = DBConfig.sqlite(database="app.db")
    assert db_config.engine == "sqlite"
    assert db_config.username == ""
    assert db_config.password == ""
    assert db_config.host == ""
    assert db_config.port is None
    assert db_config.database == "app.db"
    assert db_config.get_url() == "sqlite:///app.db"
Test DBConfig.sqlite constructor create the instance correctly.
tests/units/test_db_config.py