-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't allow a RedisDeque to equal a RedisList... (#576)
* Make RedisList.__eq__() more clear * Make RedisList.__eq__() more clear * Don't allow a RedisDeque to equal a RedisList... ...even if they're both on the same Redis instance and have the same key. Before this PR: ```python >>> from pottery import RedisDeque, RedisList >>> RedisDeque(key='videos:dicts') == RedisList(key='videos:dicts') True ``` As of this PR: ```python >>> from pottery import RedisDeque, RedisList >>> RedisDeque(key='videos:dicts') == RedisList(key='videos:dicts') False ``` * Reorder logic in RedisList.__eq__() * Bump version number * Unit test RedisList equality with RedisDeque * Unit test RedisDeque equality with RedisList * Name unit tests more accurately
- Loading branch information
Showing
7 changed files
with
48 additions
and
9 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
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