mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-25 00:37:31 +02:00
update tests
This commit is contained in:
@ -11,6 +11,7 @@ class MyTests(unittest.TestCase):
|
|||||||
"tests/fixtures/windows/windows-7/systeminfo",
|
"tests/fixtures/windows/windows-7/systeminfo",
|
||||||
"tests/fixtures/windows/windows-10/systeminfo",
|
"tests/fixtures/windows/windows-10/systeminfo",
|
||||||
"tests/fixtures/windows/windows-10/systeminfo-hyperv",
|
"tests/fixtures/windows/windows-10/systeminfo-hyperv",
|
||||||
|
"tests/fixtures/windows/windows-10/systeminfo-hyperv-utc",
|
||||||
"tests/fixtures/windows/windows-2012r2/systeminfo",
|
"tests/fixtures/windows/windows-2012r2/systeminfo",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
@ -14,6 +14,10 @@ class MyTests(unittest.TestCase):
|
|||||||
'2021-03-23 00:14': {'string': '2021-03-23 00:14', 'format': 1500, 'naive': 1616483640, 'utc': None},
|
'2021-03-23 00:14': {'string': '2021-03-23 00:14', 'format': 1500, 'naive': 1616483640, 'utc': None},
|
||||||
# Windows english format (found in dir cli output)
|
# Windows english format (found in dir cli output)
|
||||||
'12/07/2019 02:09 AM': {'string': '12/07/2019 02:09 AM', 'format': 1600, 'naive': 1575713340, 'utc': None},
|
'12/07/2019 02:09 AM': {'string': '12/07/2019 02:09 AM', 'format': 1600, 'naive': 1575713340, 'utc': None},
|
||||||
|
# Windows english format wint non-UTC tz (found in systeminfo cli output)
|
||||||
|
'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+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)
|
# en_US.UTF-8 local format (found in upower cli output)
|
||||||
'Tue 23 Mar 2021 04:12:11 PM UTC': {'string': 'Tue 23 Mar 2021 04:12:11 PM UTC', 'format': 2000, 'naive': 1616541131, 'utc': 1616515931},
|
'Tue 23 Mar 2021 04:12:11 PM UTC': {'string': 'Tue 23 Mar 2021 04:12:11 PM UTC', 'format': 2000, 'naive': 1616541131, 'utc': 1616515931},
|
||||||
# en_US.UTF-8 local format with non-UTC tz (found in upower cli output)
|
# en_US.UTF-8 local format with non-UTC tz (found in upower cli output)
|
||||||
|
Reference in New Issue
Block a user