cunla / fakeredis-py

Implementation of Redis in python without having a Redis server running. Fully compatible with using redis-py.
https://fakeredis.moransoftware.ca/
BSD 3-Clause "New" or "Revised" License
281 stars 47 forks source link

Dragonfly test support #318

Closed cunla closed 3 weeks ago

github-actions[bot] commented 1 month ago

Coverage report:

Name                                              Stmts   Miss Branch BrPart  Cover
-----------------------------------------------------------------------------------
fakeredis/__init__.py                                15      2      0      0    87%
fakeredis/_basefakesocket.py                        243      8    100      9    95%
fakeredis/_command_args_parsing.py                   71      2     42      2    96%
fakeredis/_commands.py                              303     10    132      6    96%
fakeredis/_connection.py                             92     10     32      7    86%
fakeredis/_fakesocket.py                             27      5      0      0    81%
fakeredis/_helpers.py                               170      4     65      3    97%
fakeredis/_msgs.py                                   97      0      0      0   100%
fakeredis/_server.py                                 56      3     18      3    92%
fakeredis/_stream.py                                325     14    122     11    94%
fakeredis/_zset.py                                   68      0     16      0   100%
fakeredis/aioredis.py                               148     14     47      8    88%
fakeredis/commands_mixins/__init__.py                 0      0      0      0   100%
fakeredis/commands_mixins/bitmap_mixin.py           191      3    106      1    99%
fakeredis/commands_mixins/connection_mixin.py        33      1     14      1    96%
fakeredis/commands_mixins/generic_mixin.py          209      8    118      7    95%
fakeredis/commands_mixins/geo_mixin.py              149     11     77      5    90%
fakeredis/commands_mixins/hash_mixin.py             106      3     52      1    97%
fakeredis/commands_mixins/list_mixin.py             245      7    152      8    96%
fakeredis/commands_mixins/pubsub_mixin.py           119      7     66      8    90%
fakeredis/commands_mixins/scripting_mixin.py        169      5     80      5    96%
fakeredis/commands_mixins/server_mixin.py            89      4     48      2    96%
fakeredis/commands_mixins/set_mixin.py              144     12     92      6    91%
fakeredis/commands_mixins/sortedset_mixin.py        420     15    225     15    95%
fakeredis/commands_mixins/streams_mixin.py          258     27    160     28    87%
fakeredis/commands_mixins/string_mixin.py           235      8    147      9    96%
fakeredis/commands_mixins/transactions_mixin.py      74      2     30      1    97%
fakeredis/geo/__init__.py                             0      0      0      0   100%
fakeredis/geo/geohash.py                             45      0     18      0   100%
fakeredis/geo/haversine.py                           10      0      0      0   100%
fakeredis/stack/__init__.py                          27     14      4      0    42%
fakeredis/stack/_bf_mixin.py                        122     18     74      9    81%
fakeredis/stack/_cf_mixin.py                        132     27     66      9    79%
fakeredis/stack/_cms_mixin.py                        79      0     50      0   100%
fakeredis/stack/_json_mixin.py                      327     12    180     10    96%
fakeredis/stack/_tdigest_mixin.py                   173     32    118     29    79%
fakeredis/stack/_timeseries_mixin.py                337     51    206     37    82%
fakeredis/stack/_timeseries_model.py                173     13     84      4    90%
fakeredis/stack/_topk_mixin.py                      160     16     78     18    86%
-----------------------------------------------------------------------------------
TOTAL                                              5641    368   2819    262    92%