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

Refactor tests from redispy4_plus #77

Merged
merged 5 commits into from
Nov 21, 2022
Merged

Refactor tests from redispy4_plus #77

merged 5 commits into from
Nov 21, 2022

Conversation

cunla
Copy link
Owner

@cunla cunla commented Nov 21, 2022

package does not support redis below v4.2, therefore there is no need for these tests to be in a separate file.

package does not support redis below v4.2, therefore there is no need
for these tests to be in a separate file.
@cunla cunla added the chore label Nov 21, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2022

Coverage report:

Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
fakeredis/__init__.py                                 6      2      0      0    67%
fakeredis/_basefakesocket.py                        218     12     94     11    92%
fakeredis/_commands.py                              259      7     86      4    96%
fakeredis/_fakesocket.py                             18      0      0      0   100%
fakeredis/_helpers.py                               188      7     67      3    96%
fakeredis/_msgs.py                                   51      0      0      0   100%
fakeredis/_server.py                                123      6     42      5    93%
fakeredis/_zset.py                                   64      0     16      0   100%
fakeredis/aioredis.py                               153      7     43      5    94%
fakeredis/commands_mixins/__init__.py                 0      0      0      0   100%
fakeredis/commands_mixins/bitmap_mixin.py            44      0      8      0   100%
fakeredis/commands_mixins/connection_mixin.py        20      0      4      0   100%
fakeredis/commands_mixins/generic_mixin.py          260     17    120     10    92%
fakeredis/commands_mixins/hash_mixin.py              82      1     16      1    98%
fakeredis/commands_mixins/list_mixin.py             176      5     76      5    96%
fakeredis/commands_mixins/pubsub_mixin.py            59      0     24      5    94%
fakeredis/commands_mixins/scripting_mixin.py        134      4     74      5    96%
fakeredis/commands_mixins/server_mixin.py            49      0     14      0   100%
fakeredis/commands_mixins/set_mixin.py              139     12     58      6    88%
fakeredis/commands_mixins/sortedset_mixin.py        320      6    137      5    98%
fakeredis/commands_mixins/string_mixin.py           164      3     64      3    97%
fakeredis/commands_mixins/transactions_mixin.py      73      2     20      1    97%
-----------------------------------------------------------------------------------
TOTAL                                              2600     91    963     69    95%

@cunla cunla merged commit be0982b into master Nov 21, 2022
@cunla cunla deleted the tests-refactor branch November 21, 2022 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant