Skip to content

Commit 55560fb

Browse files
committed
Update test_mi.py
added 2 more test case
1 parent ee2b4e0 commit 55560fb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_mi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def test_expires_on_parsing(self):
5656
"1234567890": 1234567890,
5757
"1970-01-01T00:00:12.0000000+00:00": 12,
5858
"2024-10-18T19:51:37.0000000+00:00": 1729281097, # Copied from https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/issues/4963
59+
"2025-01-01T00:00:00Z": 1735689600, # Z/Zulu suffix
60+
"2025-01-01T00:00:00+00:00": 1735689600, # No fractional seconds
5961
"01/01/1970 00:00:12 +00:00": 12,
6062
"06/20/2019 02:57:58 +00:00": 1560999478, # Derived from https://github.com/Azure/azure-sdk-for-python/blob/azure-identity_1.21.0/sdk/identity/azure-identity/azure/identity/_credentials/azure_ml.py#L52
6163
"1/1/1970 12:0:12 AM +00:00": 12,

0 commit comments

Comments
 (0)