Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(py3): Fix tests in test_organization_group_index (#20848)
This fixes tests in tests/snuba/api/endpoints/test_organization_group_index.py. Problems: - Treating the result of `range` like a list. Just casted as a list. I also searched for other uses of this in the codebase and fixed. - Needed to encode the result of a repr before passing to md5. Also converted from repr to json.dumps. I don't think that the hash is important here, so it's fine for it to change.
- Loading branch information
Showing
4 changed files
with
12 additions
and
19 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
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