-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sorr task592 extend unit testing of str to timestamp (#593)
* Changed function docstring * Added UTC timezone unit test * fixed docstring * Made test 5 into test 2 and removed original test 2. * Changed docstrings * Changed to check_string() * added test for check_string * Fixed typo * revert some test ouput files to their version in master * Added new line after test class docstring
- Loading branch information
Showing
6 changed files
with
42 additions
and
27 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
1 change: 1 addition & 0 deletions
1
helpers/test/outcomes/Test_dassert_str_is_date.test2/output/test.txt
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 @@ | ||
date='2022-11-01' doesn't have the right format: time data '2022-11-01' does not match format '%Y%m%d' |
1 change: 1 addition & 0 deletions
1
helpers/test/outcomes/Test_dassert_str_is_date.test2/output/test.txt.tmp
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 @@ | ||
date='2022-11-01' doesn't have the right format: time data '2022-11-01' does not match format '%Y%m%d' |
1 change: 1 addition & 0 deletions
1
helpers/test/outcomes/Test_str_to_timestamp1.test3/output/test.txt
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 @@ | ||
time data '28-07-2023 15:05:13' does not match format '%Y%m%d_%H%M%S' (match) |
1 change: 1 addition & 0 deletions
1
helpers/test/outcomes/Test_str_to_timestamp1.test4/output/test.txt
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 @@ | ||
Unknown string format: qwe28abc07-201234 present at position 0 |
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