From 47215ddb13a72d88daa8ef90b9492be39847f6d7 Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Wed, 17 Feb 2021 09:59:53 +0100 Subject: [PATCH] Fix instantiation of DummyApp --- tests/test_base/test_base_config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_base/test_base_config.py b/tests/test_base/test_base_config.py index d155b6e7..1197ec19 100644 --- a/tests/test_base/test_base_config.py +++ b/tests/test_base/test_base_config.py @@ -202,7 +202,8 @@ def testBaseConfig_Init(monkeypatch, tmpDir, fncDir, outDir, refDir, filesDir): writeFile(os.path.join(i18nDir, "nw_en_GB.ts"), "") writeFile(os.path.join(i18nDir, "nw_abcd.qm"), "") - tstConf.initLocalisation(DummyApp) + tstApp = DummyApp() + tstConf.initLocalisation(tstApp) theList = tstConf.listLanguages() assert theList == [("en_GB", "British English")]