aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Expand)AuthorAgeLines
* Add custom exceptions for each error state.Gravatar Leon Sandøy2020-05-28-3/+4
* Merge branch 'master' into redis_persistenceGravatar Leon Sandøy2020-05-27-10/+49
|\
| * Add some tests for `in_whitelist_check`.Gravatar Leon Sandøy2020-05-27-0/+48
| * Remove the now deprecated in_channel_check.Gravatar Leon Sandøy2020-05-27-8/+0
| * Find + change all InWhitelistCheckFailure importsGravatar Leon Sandøy2020-05-27-2/+1
| * Refactor the in_whitelist deco to a check.Gravatar Leon Sandøy2020-05-27-2/+2
* | Floats are no longer permitted as RedisCache keys.Gravatar Leon Sandøy2020-05-27-5/+8
* | Refactor .increment and add lock test.Gravatar Leon Sandøy2020-05-27-64/+99
* | Clear cache in asyncSetUp instead of tests.Gravatar Leon Sandøy2020-05-27-6/+1
* | Add a test for RuntimeErrors.Gravatar Leon Sandøy2020-05-26-0/+22
* | Improve output of section name in config validation subtestsGravatar MarkKoz2020-05-25-1/+1
* | Support validating collection types for constantsGravatar MarkKoz2020-05-25-8/+32
* | Add support for Union type annotations for constantsGravatar MarkKoz2020-05-24-5/+12
* | Improve error and error testing for incrementGravatar Leon Sandøy2020-05-24-0/+8
* | MockBot needs to be aware of redis_readyGravatar Leon Sandøy2020-05-24-1/+1
* | Add .increment and .decrement methods.Gravatar Leon Sandøy2020-05-24-0/+34
* | Make .items return ItemsView instead of AsyncIterGravatar Leon Sandøy2020-05-24-2/+2
* | Remove redis session mock from MockBotGravatar MarkKoz2020-05-23-16/+0
* | DRY approach to typestring prefix resolutionGravatar Leon Sandøy2020-05-23-0/+21
* | Fix typo in test_to_dict docstringGravatar Leon Sandøy2020-05-23-1/+1
* | Merge branch 'master' into redis_persistenceGravatar Leon Sandøy2020-05-23-4/+7
|\|
| * Merge branch 'master' into eval-timeout-increaseGravatar Dennis Pham2020-05-19-3/+2
| |\
| | * Use `Command`-object for `send_help`Gravatar Sebastiaan Zeeff2020-05-17-2/+2
| | * Use `send_help` to invoke command helpGravatar Sebastiaan Zeeff2020-05-17-2/+1
| * | Change tests to use the new timeout constantGravatar Numerlor2020-05-15-1/+5
| |/
* | Complete asyncified test suite for RedisCacheGravatar Leon Sandøy2020-05-23-94/+112
* | Finish .set and .get, and add tests.Gravatar Leon Sandøy2020-05-23-12/+26
* | Use autospecced mocks in MockBot for the stats and aiohttp sessionGravatar MarkKoz2020-05-22-0/+4
* | Properly mock the redis pool in MockBotGravatar MarkKoz2020-05-22-9/+19
* | Fix unawaited coro warning when instantiating Bot for MockBot's specGravatar MarkKoz2020-05-22-10/+14
* | Improve aiohttp context manager mocking in snekbox testsGravatar MarkKoz2020-05-22-3/+12
* | Fix assertion for `create_task` in duck pond testsGravatar MarkKoz2020-05-22-1/+1
* | Set up async testbedGravatar Leon Sandøy2020-05-22-189/+128
* | Test suite for the redis dict.Gravatar Leon Sandøy2020-05-17-0/+189
|/
* Tests: change avatar_url_as assertion to use static_formatGravatar MarkKoz2020-04-30-1/+1
* Add DMChannel tests for in_whitelist decoratorGravatar Sebastiaan Zeeff2020-04-27-31/+63
* Add mock for discord.DMChannelsGravatar Sebastiaan Zeeff2020-04-27-0/+21
* Exclude never-run lines from coverageGravatar Sebastiaan Zeeff2020-04-27-2/+2
* Simplify `in_whitelisted_context` decorator APIGravatar Sebastiaan Zeeff2020-04-23-32/+32
* Add tests for `in_whitelisted_context` decoratorGravatar Sebastiaan Zeeff2020-04-23-0/+115
* Remove vestigial kwargs from MockTextChannel.__init__Gravatar Sebastiaan Zeeff2020-04-23-1/+1
* Replace `in_channel` decorator by `in_whitelisted_context`Gravatar Sebastiaan Zeeff2020-04-23-2/+2
* (Syncer Tests): Replaced wrong side effectGravatar ks1292020-04-09-1/+2
* Set unsilence permissions to inherit instead of trueGravatar Sebastiaan Zeeff2020-03-30-1/+1
* Merge branch 'master' into hush-cogGravatar Eivind Teig2020-03-30-58/+131
|\
| * Snekbox tests: use `get_code` in `test_continue_eval_does_continue`Gravatar MarkKoz2020-03-25-3/+6
| * Snekbox tests: test `get_code`Gravatar MarkKoz2020-03-25-4/+32
| * Cog tests: comment some code for clarificationGravatar MarkKoz2020-03-16-0/+3
| * Cog tests: fix error on import due to discord.ext.tasks.loopGravatar MarkKoz2020-03-13-3/+5
| * Cog tests: fix leading space in aliases without parentsGravatar MarkKoz2020-03-13-1/+1