tests: Allow configuring normalized_urls = false

Previously, we weren't converting it to a boolean, but left it as
a truth-y string.

Change-Id: Ia0349d991435492ac9d80c36c5b1123b9e310db6
This commit is contained in:
Tim Burke
2025-03-05 10:11:45 -08:00
parent 3db28d41f1
commit 11422a3957

View File

@@ -824,7 +824,8 @@ def setup_package():
global web_front_end
web_front_end = config.get('web_front_end', 'integral')
global normalized_urls
normalized_urls = config.get('normalized_urls', False)
normalized_urls = utils.config_true_value(
config.get('normalized_urls', False))
global orig_collate
orig_collate = locale.setlocale(locale.LC_COLLATE)