Skip to content

Commit

Permalink
fix: don't override MySQL test DB collation if set (#2017)
Browse files Browse the repository at this point in the history
  • Loading branch information
jerivas authored Jan 14, 2022
1 parent 001a16b commit e38ffc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mezzanine/utils/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def mezzanine_settings():
db["NAME"] = db_path
elif shortname == "mysql":
# Required MySQL collation for tests.
db.setdefault("TEST", {})["COLLATION"] = "utf8_general_ci"
db.setdefault("TEST", {}).setdefault("COLLATION", "utf8_general_ci")


def real_project_name(project_name):
Expand Down

0 comments on commit e38ffc6

Please sign in to comment.