From d6f4ed9ab55fe9b7c2766fb437172af62a1d5c87 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 21 May 2021 09:46:34 -0700 Subject: [PATCH] add long-form UTC test --- tests/test_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_utils.py b/tests/test_utils.py index bc1ea123..45aa738d 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -18,6 +18,8 @@ class MyTests(unittest.TestCase): '3/22/2021, 1:15:51 PM (UTC-0600)': {'string': '3/22/2021, 1:15:51 PM (UTC-0600)', 'format': 1700, 'naive': 1616444151, 'utc': None}, # Windows english format with UTC tz (found in systeminfo cli output) '3/22/2021, 1:15:51 PM (UTC)': {'string': '3/22/2021, 1:15:51 PM (UTC)', 'format': 1705, 'naive': 1616444151, 'utc': 1616418951}, + # Windows english format with UTC tz in long-form (found in systeminfo cli output) + '3/22/2021, 1:15:51 PM (Coordinated Universal Time)': {'string': '3/22/2021, 1:15:51 PM (Coordinated Universal Time)', 'format': 1705, 'naive': 1616444151, 'utc': 1616418951}, # Windows english format with UTC tz (found in systeminfo cli output) '3/22/2021, 1:15:51 PM (UTC+0000)': {'string': '3/22/2021, 1:15:51 PM (UTC+0000)', 'format': 1710, 'naive': 1616444151, 'utc': 1616418951}, # en_US.UTF-8 local format (found in upower cli output)