Skip to content

Commit 31cdd8c

Browse files
committed
Enhance memorydb to load config.detectors and config.ext
Memorydb did not load the config.ini files from the tracker's detectors and extensions directories. This caused an update to the classic detectors (that used detectors/config.ini) to break testing.
1 parent 9ab7e56 commit 31cdd8c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/memorydb.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919

2020
def new_config(debug=False):
2121
config = configuration.CoreConfig()
22+
config.detectors = configuration.UserConfig("share/roundup/templates/classic/detectors/config.ini")
23+
config.ext = configuration.UserConfig("share/roundup/templates/classic/extensions/config.ini")
2224
config.DATABASE = "db"
2325
#config.logging = MockNull()
2426
# these TRACKER_WEB and MAIL_DOMAIN values are used in mailgw tests

0 commit comments

Comments
 (0)