-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backup): Add validate() function to backup.py (#52484)
We move the `validate()` method from the test suite into the main code itself. The end goal of this work is to be able to perform an opinionated diff on two JSON exports for validation purposes on real production data as part of the migration flow, so `validate()` is not merely a test function. The tests still use `freezegun` for now, but they will also have to migrated to a more sophisticated comparator-based system when working in production, where time of course cannot be frozen. Issue: getsentry/team-ospo#156
- Loading branch information
1 parent
970fb96
commit 2349aaf
Showing
3 changed files
with
116 additions
and
101 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
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
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