Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2316)

Unified Diff: tests/parsers/sccm.py

Issue 332630043: [plaso] Replaced FromTimeParts in favor of dfdatetime and fixed #1700 (Closed)
Patch Set: Changes after review and rebase Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/lib/timelib.py ('k') | tests/parsers/symantec.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/parsers/sccm.py
diff --git a/tests/parsers/sccm.py b/tests/parsers/sccm.py
index 95279d9c823de54c2faaab522fcb0cc9019bbe8c..ac5dba285078361457755a51bdd0ecdd8291886c 100644
--- a/tests/parsers/sccm.py
+++ b/tests/parsers/sccm.py
@@ -29,7 +29,7 @@ class SCCMLogsUnitTest(test_lib.ParserTestCase):
event = events[0]
expected_timestamp = timelib.Timestamp.CopyFromString(
- '2014-11-28 14:03:19.766')
+ '2014-11-29 01:03:19.766')
self.assertEqual(event.timestamp, expected_timestamp)
# Test timestamps with seven digits after seconds.
@@ -41,13 +41,13 @@ class SCCMLogsUnitTest(test_lib.ParserTestCase):
# Test timestamps with '-' in microseconds.
event = events[7]
expected_timestamp = timelib.Timestamp.CopyFromString(
- '2014-12-28 07:59:43.373')
+ '2014-12-28 18:59:43.373')
self.assertEqual(event.timestamp, expected_timestamp)
# Test timestamps with '+' in microseconds.
event = events[9]
expected_timestamp = timelib.Timestamp.CopyFromString(
- '2014-11-24 09:52:13.827')
+ '2014-11-23 17:52:13.827')
self.assertEqual(event.timestamp, expected_timestamp)
# Test full and short message formats.
« no previous file with comments | « tests/lib/timelib.py ('k') | tests/parsers/symantec.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b