-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unit test to ensure invalid timestamp conversions do not occur (#2954)
* Add new csv test file * Change the message values in validate_date_events_timestamp_manipulation.csv * Add test to make sure timestamp is converted correctly * added entries for more verification * Changed name of test_timestamp_conversion to current and fixed comparison between read entries and expectedoutputs * fixed fields for test_timestamp_is_ISOformat and csv. changed csv name to validate_timestamp_conversion.csv * format --------- Co-authored-by: Han K Ngo <[email protected]> Co-authored-by: Isaac-G5900 <[email protected]> Co-authored-by: Johan Berggren <[email protected]>
- Loading branch information
1 parent
e061a89
commit 30da8aa
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
"message","timestamp","datetime","timestamp_desc","data_type" | ||
"Checking timestamp conversion","1331698658000000","2012-03-14T04:17:38+00:00","Time Logged","This event has timestamp" | ||
"Checking timestamp conversion","1658689261000000","2022-07-24T19:01:01+0000","Time Logged","This event has timestamp" | ||
"Make sure message is same","1437789661000000","2015-07-25 02:01:01+00:00","Logging","This data_type should stay the same" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters