diff roundup/test/memorydb.py @ 6658:408fd477761f

Add i18n object to roundupdb.Database This makes the i18n object accessible everywhere (including in detectors where localized error messages were impossible). See issue2551184
author Ralf Schlatterbeck <rsc@runtux.com>
date Tue, 03 May 2022 14:51:59 +0200
parents a7072cf4ad7e
children 375d40a9e730
line wrap: on
line diff
--- a/roundup/test/memorydb.py	Mon May 02 17:04:27 2022 -0400
+++ b/roundup/test/memorydb.py	Tue May 03 14:51:59 2022 +0200
@@ -238,6 +238,7 @@
         self.sessions = Sessions()
         self.otks = OneTimeKeys()
         self.indexer = Indexer(self)
+        roundupdb.Database.__init__(self)
 
         # anydbm bits
         self.cache = {}         # cache of nodes loaded or created

Roundup Issue Tracker: http://roundup-tracker.org/