Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding unittests for several csv import related timestamp / datetime edge cases #3177

Merged
merged 8 commits into from
Sep 11, 2024

Conversation

jaegeral
Copy link
Collaborator

@jaegeral jaegeral commented Sep 4, 2024

The PR adds several test data / csv files that have numerous edge cases for timestamp / datetime variations.

The unittests do not fail anything, but they are useful moving forward if someone wants to start tackling the problem, the expected outputs can be adjusted.

@jaegeral jaegeral added Data import All things that are with importing data Code Health Code health improvements labels Sep 4, 2024
@jaegeral jaegeral requested a review from jkppr September 4, 2024 14:02
@jaegeral
Copy link
Collaborator Author

jaegeral commented Sep 4, 2024

This PR is in relation with #3173

Copy link
Collaborator

@jkppr jkppr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

timesketch/lib/utils_test.py Outdated Show resolved Hide resolved
@jaegeral
Copy link
Collaborator Author

Added some more tests, please re-review @jkppr thx

@jaegeral jaegeral requested a review from jkppr September 11, 2024 09:37
Copy link
Collaborator

@jkppr jkppr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jaegeral jaegeral merged commit 4db1739 into google:master Sep 11, 2024
24 checks passed
@jaegeral jaegeral deleted the 2024-09-03_3173 branch September 11, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Health Code health improvements Data import All things that are with importing data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants