From e16814e40b7e16f1fb86f7d6fdb818e3ddc0b0ff Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 11 Sep 2024 11:31:07 +0200 Subject: [PATCH] Testing - locale fix for test (#2623) --- changedetectionio/tests/test_restock_itemprop.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/changedetectionio/tests/test_restock_itemprop.py b/changedetectionio/tests/test_restock_itemprop.py index e9fd6a39..c873aa22 100644 --- a/changedetectionio/tests/test_restock_itemprop.py +++ b/changedetectionio/tests/test_restock_itemprop.py @@ -198,7 +198,8 @@ def _run_test_minmax_limit(client, extra_watch_edit_form): client.get(url_for("form_watch_checknow"), follow_redirects=True) wait_for_all_checks(client) res = client.get(url_for("index")) - assert b'1,890.45' or b'1890.45' in res.data + # Depending on the LOCALE it may be either of these (generally for US/default/etc) + assert b'1,890.45' in res.data or b'1890.45' in res.data assert b'unviewed' in res.data res = client.get(url_for("form_delete", uuid="all"), follow_redirects=True)