aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py (unfollow)
Commit message (Expand)AuthorLines
2020-06-06Refactor help_channels.py to use RedisCache.Gravatar Leon Sandøy-28/+32
2020-05-31Add support for bool values in RedisCacheGravatar Leon Sandøy-3/+15
2020-05-30Oops, add the return back.Gravatar Leon Sandøy-0/+1
2020-05-30Free tag: link #how-to-get-helpGravatar kwzrd-2/+2
2020-05-30Scheduler: Move space from f-string of `ctx.send` to `infr_message`Gravatar ks129-2/+2
2020-05-30Scheduler: Remove line splitting from `ctx.send` after 7f827abGravatar ks129-4/+1
2020-05-30Infr. Tests: Add `apply_infraction` awaiting assertion with argsGravatar ks129-0/+6
2020-05-30Scheduler: Fix spaces for modlog textGravatar ks129-1/+1
2020-05-30Scheduler: Remove unnecessary `f` before stringGravatar ks129-1/+1
2020-05-30Scheduler: Add try-except to infraction deletionGravatar ks129-1/+6
2020-05-30Scheduler: Remove invalid commentGravatar ks129-1/+0
2020-05-30Scheduler: Move inline f-string if-else statement to normal if statementGravatar ks129-1/+4
2020-05-30Simplify infraction reason truncation testsGravatar ks129-13/+7
2020-05-30Tags: explicitly use UTF-8 to read filesGravatar MarkKoz-1/+1
2020-05-30Removing the periodic ping from verification.Gravatar Leon Sandøy-43/+1
2020-05-29Reduce the number of help channel name changesGravatar Sebastiaan Zeeff-29/+3
2020-05-29Fix `check_for_answer` breaking on missing cacheGravatar Sebastiaan Zeeff-2/+5
2020-05-29Ignore response when posting python newsGravatar Matteo Bertucci-0/+1
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-25AntiMalware tests - Switched from monkeypatch to unittest.patchGravatar Jannes Jonkers-2/+2
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