aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py (unfollow)
Commit message (Expand)AuthorLines
2020-05-28Move the `self.redis_closed` into session create.Gravatar Leon Sandøy-1/+1
2020-05-28Prevent a state where a coro could wait forever.Gravatar Leon Sandøy-2/+6
2020-05-28Add custom exceptions for each error state.Gravatar Leon Sandøy-8/+21
2020-05-28Make prefix consts private and more precise.Gravatar Leon Sandøy-9/+9
2020-05-28Reduce complexity on some of the typestring stuff.Gravatar Leon Sandøy-31/+9
2020-05-27Fix ATROCIOUS comment.Gravatar Leon Sandøy-3/+5
2020-05-27Refactor typestring converters to partialmethods.Gravatar Leon Sandøy-30/+24
2020-05-27Floats are no longer permitted as RedisCache keys.Gravatar Leon Sandøy-43/+86
2020-05-27Add some tests for `in_whitelist_check`.Gravatar Leon Sandøy-0/+48
2020-05-27Remove the now deprecated in_channel_check.Gravatar Leon Sandøy-16/+0
2020-05-27Refactor .increment and add lock test.Gravatar Leon Sandøy-65/+109
2020-05-27Clear cache in asyncSetUp instead of tests.Gravatar Leon Sandøy-6/+1
2020-05-27Allow some commands to fail checks silently.Gravatar Leon Sandøy-2/+9
2020-05-27No redirect for mod management.Gravatar Leon Sandøy-0/+1
2020-05-27Find + change all InWhitelistCheckFailure importsGravatar Leon Sandøy-9/+8
2020-05-27Allow infraction management in modmail categoryGravatar Leon Sandøy-12/+13
2020-05-27Refactor the in_whitelist deco to a check.Gravatar Leon Sandøy-53/+86
2020-05-26Add /r/FlutterDev to the guild invite whitelistGravatar Dennis Pham-0/+1
2020-05-26Add a test for RuntimeErrors.Gravatar Leon Sandøy-0/+22
2020-05-26Swap the order for the validate_cache checks.Gravatar Leon Sandøy-8/+8
2020-05-26Improve some docstrings for RedisCache.Gravatar Leon Sandøy-5/+3
2020-05-26Make self.increment_lock private.Gravatar Leon Sandøy-2/+2
2020-05-26Add better docstring for RedisCache.updateGravatar Leon Sandøy-2/+12
2020-05-26Fix edge case where pop might not delete.Gravatar Leon Sandøy-6/+6
2020-05-26Turn log.exception into log.errorGravatar Leon Sandøy-17/+22
2020-05-26[stats] Do not report modmail channels to statsGravatar Joseph Banks-1/+11
2020-05-25Expose the redis port to the hostGravatar MarkKoz-0/+2
2020-05-25Improve output of section name in config validation subtestsGravatar MarkKoz-1/+1
2020-05-25Support validating collection types for constantsGravatar MarkKoz-8/+32
2020-05-24Add support for Union type annotations for constantsGravatar MarkKoz-12/+19
2020-05-24Add discord.gift to URL blacklist, closes #958Gravatar Joseph Banks-0/+1
2020-05-24Improve error and error testing for incrementGravatar Leon Sandøy-1/+9
2020-05-24Add an option to use fakeredis in Bot.Gravatar Leon Sandøy-48/+66
2020-05-24MockBot needs to be aware of redis_readyGravatar Leon Sandøy-1/+1
2020-05-24Add logging to the RedisCache.Gravatar Leon Sandøy-3/+39
2020-05-24Rename Bot._redis_ready to Bot.redis_readyGravatar Leon Sandøy-4/+4
2020-05-24Add .increment and .decrement methods.Gravatar Leon Sandøy-0/+69
2020-05-24Make .items return ItemsView instead of AsyncIterGravatar Leon Sandøy-9/+23
2020-05-24Better RuntimeErrors.Gravatar Leon Sandøy-2/+14
2020-05-24Improves various docstrings and comments.Gravatar Leon Sandøy-10/+27
2020-05-24Refactor the nice prefix/type strings to constantsGravatar Leon Sandøy-31/+19
2020-05-24len(prefix) instead of hardcoding 2Gravatar Leon Sandøy-1/+1
2020-05-24use __name__ for type list Gravatar Leon Sandøy-1/+1
2020-05-23Show a warning when redis pool isn't closedGravatar MarkKoz-0/+5
2020-05-23Remove redis session mock from MockBotGravatar MarkKoz-16/+0
2020-05-23DRY approach to typestring prefix resolutionGravatar Leon Sandøy-15/+60
2020-05-23Don't rely on HDEL ignoring keys for .popGravatar Leon Sandøy-2/+21
2020-05-23Fix typo in test_to_dict docstringGravatar Leon Sandøy-1/+1
2020-05-23Update exception message Gravatar Leon Sandøy-1/+4
2020-05-23CI needs REDIS_PASSWORD to pass testsGravatar Leon Sandøy-0/+1