From 252f47dee65145c470fe2b3bc301d1744f233f75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 18 Jul 2019 10:48:18 +0200 Subject: [PATCH] documentation/python: wtf, why None and why not []. This was *sometimes* failing during the test, with Jinja complaining that None is not iterable. But not all the time, for some reason. --- documentation/test_python/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/documentation/test_python/__init__.py b/documentation/test_python/__init__.py index 92eae451..541d8b04 100644 --- a/documentation/test_python/__init__.py +++ b/documentation/test_python/__init__.py @@ -76,8 +76,8 @@ class BaseTestCase(unittest.TestCase): 'FINE_PRINT': None, 'THEME_COLOR': None, 'FAVICON': None, - 'LINKS_NAVBAR1': None, - 'LINKS_NAVBAR2': None, + 'LINKS_NAVBAR1': [], + 'LINKS_NAVBAR2': [], 'SEARCH_DISABLED': True, 'OUTPUT': os.path.join(self.path, 'output') }) -- 2.30.2