| Commit message (Collapse) | Author | Age | Lines | ||
|---|---|---|---|---|---|
| ... | |||||
| | * | | | | | | | | | | | | Jam Tests: re-arrange tests to follow definition order in the cog | 2020-07-22 | -10/+10 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: fix utils patch | 2020-07-22 | -4/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop needs to be called on the patcher, not the mock. Furthermore, using addCleanup is safer than tearDown because the latter may not be called if an exception is raised in setUp. | ||||
| | * | | | | | | | | | | | | Jam Tests: Fix `test_duplicate_member_provided` assertions | 2020-06-13 | -1/+3 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Fix wrong function name and convert them to mocks | 2020-06-13 | -1/+3 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Simplify and make tests more secure | 2020-06-13 | -6/+4 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Update `Context` to `Guild` for tests too | 2020-06-13 | -19/+19 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Apply recent command splitting to `test_jam_roles_adding` | 2020-06-11 | -2/+2 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Remove unnecessary `Context` mock resets | 2020-06-11 | -2/+0 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Implement default arguments | 2020-06-11 | -4/+4 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid repeating same arguments, added default arguments that is unpacked on function call. | ||||
| | * | | | | | | | | | | | | Jam Tests: Apply recent changes to `test_category_dont_exist` | 2020-06-11 | -2/+1 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Simplify and update `test_category_channel_exist` | 2020-06-11 | -3/+1 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Merge text and voice channel creation tests | 2020-06-11 | -21/+24 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Apply recent changes to overwrites test | 2020-06-11 | -2/+1 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Add more assertions to result message sending test | 2020-06-11 | -1/+7 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Make early exiting test more secure | 2020-06-11 | -2/+6 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Use class member of patch instead decorator on most of tests | 2020-06-11 | -21/+19 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Fix `test_result_sending` docstring | 2020-06-11 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]> | ||||
| | * | | | | | | | | | | | | Jam Tests: Create test for `setup` function | 2020-06-11 | -1/+11 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Create test for successful `ctx.send` calling | 2020-06-11 | -0/+6 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Create test for team jam roles adding | 2020-06-11 | -0/+14 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Create test for team voice channel creating | 2020-06-11 | -0/+12 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Make text channel creation test more specific | 2020-06-11 | -1/+8 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Created test for channel overwrites | 2020-06-11 | -0/+24 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Created test for creating text channel for team | 2020-06-11 | -0/+5 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Created test that make sure when category exist, don't create | 2020-06-11 | -0/+8 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Added utils.get assert to category creating test | 2020-06-11 | -0/+1 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Created test for category creating when not exist | 2020-06-11 | -2/+14 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Created tests for removing duplicate team members | 2020-06-11 | -0/+9 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Created tests for case when too small amount of members given | 2020-06-11 | -1/+17 | ||
| | | | | | | | | | | | | | | |||||
| | * | | | | | | | | | | | | Jam Tests: Created base test layout | 2020-06-11 | -0/+14 | ||
| | | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | |||||
| * | | | | | | | | | | | | Fix broken antimalware tests. | 2020-07-29 | -1/+1 | ||
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Restructure bot.filter_list_cache. | 2020-07-29 | -5/+5 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an optimization designed to eliminate all the list comprehensions we were doing inside antimalware and filtering. The cache is now structured so that the content is the key and the metadata is the value. | ||||
| * | | | | | | | | | | | | Rename AllowDenyList to FilterLists | 2020-07-27 | -1/+1 | ||
| | | | | | | | | | | | | | |||||
| * | | | | | | | | | | | | Remove AntiMalWare constants, use cache data. | 2020-07-18 | -9/+15 | ||
| | |_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also updates the tests for this cog. | ||||
| * | | | | | | | | | | | Merge branch 'master' into dm_relay | 2020-07-15 | -0/+12 | ||
| |\ \ \ \ \ \ \ \ \ \ \ | |||||
| | * | | | | | | | | | | | edit snekbox tests to work with filtering | 2020-07-13 | -0/+12 | ||
| | | |_|_|_|/ / / / / / | |/| | | | | | | | | | |||||
| * / | | | | | | | | | | Fix DuckPond tests now that send_webhook is gone. | 2020-07-12 | -39/+12 | ||
| |/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the tests were failing because they were expecting send_webhook to be a method of the DuckPond cog, other tests simply were no longer applicable, and have been removed. https://github.com/python-discord/bot/issues/667 | ||||
| * | | | | | | | | | | Fix imports in slowmode tests | 2020-07-06 | -3/+3 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Improve set_slowmode tests by checking whether the channel was edited | 2020-07-06 | -8/+22 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Add multiple test cases for set_slowmode tests | 2020-07-06 | -10/+34 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Use local text_channel instead of instance attribute | 2020-07-06 | -13/+10 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Add tests for set_slowmode | 2020-07-06 | -0/+20 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Add tests for reset_slowmode | 2020-07-06 | -3/+22 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Add tests for cog_check and get_slowmode | 2020-07-06 | -0/+37 | ||
| | | | | | | | | | | | |||||
| * | | | | | | | | | | Merge branch 'master' into issue926-paginate-long-lines | 2020-06-26 | -191/+514 | ||
| |\ \ \ \ \ \ \ \ \ \ | |||||
| | * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into bug/backend/bot-50/sync-ignore-guilds | 2020-06-22 | -10/+85 | ||
| | |\ \ \ \ \ \ \ \ \ \ | |||||
| | | * \ \ \ \ \ \ \ \ \ | Merge branch 'master' into logging-tests | 2020-06-22 | -200/+1047 | ||
| | | |\ \ \ \ \ \ \ \ \ \ | | | | |_|_|/ / / / / / | | | |/| | | | | | | | | |||||
| | | | * | | | | | | | | | Merge branch 'master' into bug/mod/bot-2a/webhook-clyde | 2020-06-20 | -10/+26 | ||
| | | | |\ \ \ \ \ \ \ \ \ | |||||
| | | | | * \ \ \ \ \ \ \ \ | Merge branch 'master' into bug/filters/bot-58/removers-ignore-dms | 2020-06-19 | -1/+3 | ||
| | | | | |\ \ \ \ \ \ \ \ \ | | | | | | |_|/ / / / / / | | | | | |/| | | | | | | | |||||
| | | | | | * | | | | | | | | Merge branch 'master' into help_channel_rediscache | 2020-06-16 | -167/+361 | ||
| | | | | | |\ \ \ \ \ \ \ \ | |||||