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

Add utility function to calculate current time #42

Merged
merged 4 commits into from
Jun 10, 2024

Conversation

replaceafill
Copy link
Member

This is a follow up on #41 to centralize the datetime.utcnow calls from the fixity and storage_service modules into a single utility function.

Mocking an imported module in tests is simpler than mocking separate
individual functions.
Copy link
Contributor

@Dhwaniartefact Dhwaniartefact left a comment

Choose a reason for hiding this comment

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

LGTM!

@replaceafill replaceafill merged commit aed507c into master Jun 10, 2024
8 checks passed
@replaceafill replaceafill deleted the dev/simplify-fixity-test branch June 10, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants