mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
fix some tests
This commit is contained in:
@@ -420,7 +420,7 @@ def get_dashboard_totals(statistics):
|
|||||||
if serialized_user["preferred_timezone"] is not timezone:
|
if serialized_user["preferred_timezone"] is not timezone:
|
||||||
current_user.update(preferred_timezone=timezone)
|
current_user.update(preferred_timezone=timezone)
|
||||||
except RuntimeError as e:
|
except RuntimeError as e:
|
||||||
current_app.logger.warning("Can't get timezone, running tests?")
|
current_app.logger.warning(f"Can't get timezone, running tests? {e}")
|
||||||
|
|
||||||
for msg_type in statistics.values():
|
for msg_type in statistics.values():
|
||||||
msg_type["failed_percentage"] = get_formatted_percentage(
|
msg_type["failed_percentage"] = get_formatted_percentage(
|
||||||
|
|||||||
Reference in New Issue
Block a user