Testing - locale fix for test (#2623)

enhanced-RSS-and-register-all-namespaces^2
dgtlmoon 4 months ago committed by GitHub
parent 337fcab3f1
commit e16814e40b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -198,7 +198,8 @@ def _run_test_minmax_limit(client, extra_watch_edit_form):
client.get(url_for("form_watch_checknow"), follow_redirects=True) client.get(url_for("form_watch_checknow"), follow_redirects=True)
wait_for_all_checks(client) wait_for_all_checks(client)
res = client.get(url_for("index")) 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 assert b'unviewed' in res.data
res = client.get(url_for("form_delete", uuid="all"), follow_redirects=True) res = client.get(url_for("form_delete", uuid="all"), follow_redirects=True)

Loading…
Cancel
Save