From b29f9902e39c8c0b914370e68c7f89596f548dac Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Wed, 11 Sep 2024 10:58:23 +0200 Subject: [PATCH] locale fix for test --- 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)