From 5e1bdfc2785d090f01f7afd744baddd0aed4d019 Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Mon, 24 Oct 2022 11:43:47 +0200 Subject: [PATCH] Fix ipfs test config --- tests/common.TestCase | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/common.TestCase b/tests/common.TestCase index 3a301ee8..bbf692de 100755 --- a/tests/common.TestCase +++ b/tests/common.TestCase @@ -1526,7 +1526,9 @@ class CommonTest(unittest.TestCase): @unittest.skipUnless(shutil.which('ipfs_cid'), 'calculate_IPFS_cid needs ipfs_cid') def test_calculate_IPFS_cid(self): - fdroidserver.common.config = dict() + config = dict() + fdroidserver.common.fill_config_defaults(config) + fdroidserver.common.config = config self.assertIsNone(fdroidserver.common.calculate_IPFS_cid('FileDoesNotExist')) self.assertEqual( fdroidserver.common.calculate_IPFS_cid('urzip.apk'),