def test_url_encode_database_name():
    """Test database name is not URL encoded."""
    username = "user"
    password = "pass"
    database = "db@prod"
    engine = "postgresql"

    db_config = DBConfig(
        engine=engine, username=username, password=password, database=database
    )
    assert db_config.get_url() == f"{engine}://{username}:{password}@/{database}"
Test database name is not URL encoded.
tests/units/test_db_config.py