diff --git a/gramps/gen/db/test/grampsdbtestbase.py b/gramps/gen/db/test/grampsdbtestbase.py index 024cf90c3..68cbe0e15 100644 --- a/gramps/gen/db/test/grampsdbtestbase.py +++ b/gramps/gen/db/test/grampsdbtestbase.py @@ -31,6 +31,8 @@ from gramps.cli.clidbman import CLIDbManager from gramps.gen.lib import (Source, RepoRef, Citation, Repository, Person, Family, Event, Place, MediaObject) +from gramps.gen.constfunc import cuni + class GrampsDbBaseTest(unittest.TestCase): """Base class for unittest that need to be able to create test databases.""" @@ -42,7 +44,7 @@ class GrampsDbBaseTest(unittest.TestCase): self._db = DbBsddb() dbman = CLIDbManager(None) - self._filename, title = dbman.create_new_db_cli(title=u"Test") + self._filename, title = dbman.create_new_db_cli(title=cuni("Test")) self._db.load(self._filename, dummy_callback, "w") def tearDown(self):