aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | | | | | | Jam Tests: Implement default argumentsGravatar ks1292020-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`Gravatar ks1292020-06-11-2/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Simplify and update `test_category_channel_exist`Gravatar ks1292020-06-11-3/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Merge text and voice channel creation testsGravatar ks1292020-06-11-21/+24
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Apply recent changes to overwrites testGravatar ks1292020-06-11-2/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Add more assertions to result message sending testGravatar ks1292020-06-11-1/+7
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Make early exiting test more secureGravatar ks1292020-06-11-2/+6
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Use class member of patch instead decorator on most of testsGravatar ks1292020-06-11-21/+19
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Fix `test_result_sending` docstringGravatar ks1292020-06-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | * | | | | | | | | | Jam Tests: Create test for `setup` functionGravatar ks1292020-06-11-1/+11
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Create test for successful `ctx.send` callingGravatar ks1292020-06-11-0/+6
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Create test for team jam roles addingGravatar ks1292020-06-11-0/+14
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Create test for team voice channel creatingGravatar ks1292020-06-11-0/+12
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Make text channel creation test more specificGravatar ks1292020-06-11-1/+8
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Created test for channel overwritesGravatar ks1292020-06-11-0/+24
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Created test for creating text channel for teamGravatar ks1292020-06-11-0/+5
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Created test that make sure when category exist, don't createGravatar ks1292020-06-11-0/+8
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Added utils.get assert to category creating testGravatar ks1292020-06-11-0/+1
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Created test for category creating when not existGravatar ks1292020-06-11-2/+14
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Created tests for removing duplicate team membersGravatar ks1292020-06-11-0/+9
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Created tests for case when too small amount of members givenGravatar ks1292020-06-11-1/+17
| | | | | | | | | | | | |
| | | * | | | | | | | | | Jam Tests: Created base test layoutGravatar ks1292020-06-11-0/+14
| | | | |_|_|_|_|_|_|/ / | | | |/| | | | | | | |
| | * | | | | | | | | | Fix broken antimalware tests.Gravatar Leon Sandøy2020-07-29-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Restructure bot.filter_list_cache.Gravatar Leon Sandøy2020-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 FilterListsGravatar Leon Sandøy2020-07-27-1/+1
| | | | | | | | | | | |
| | * | | | | | | | | | Remove AntiMalWare constants, use cache data.Gravatar Leon Sandøy2020-07-18-9/+15
| | | |_|_|_|_|/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also updates the tests for this cog.
| | * | | | | | | | | Merge branch 'master' into dm_relayGravatar Leon Sandøy2020-07-15-0/+12
| | |\ \ \ \ \ \ \ \ \
| | | * | | | | | | | | edit snekbox tests to work with filteringGravatar Slushie2020-07-13-0/+12
| | | | |_|_|_|/ / / / | | | |/| | | | | | |
| | * / | | | | | | | Fix DuckPond tests now that send_webhook is gone.Gravatar Leon Sandøy2020-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 testsGravatar Den42002020-07-06-3/+3
| | | | | | | | | |
| | * | | | | | | | Improve set_slowmode tests by checking whether the channel was editedGravatar Den42002020-07-06-8/+22
| | | | | | | | | |
| | * | | | | | | | Add multiple test cases for set_slowmode testsGravatar Den42002020-07-06-10/+34
| | | | | | | | | |
| | * | | | | | | | Use local text_channel instead of instance attributeGravatar Den42002020-07-06-13/+10
| | | | | | | | | |
| | * | | | | | | | Add tests for set_slowmodeGravatar Den42002020-07-06-0/+20
| | | | | | | | | |
| | * | | | | | | | Add tests for reset_slowmodeGravatar Den42002020-07-06-3/+22
| | | | | | | | | |
| | * | | | | | | | Add tests for cog_check and get_slowmodeGravatar Den42002020-07-06-0/+37
| | | | | | | | | |
| | * | | | | | | | Merge branch 'master' into issue926-paginate-long-linesGravatar Kyle Stanley2020-06-26-191/+514
| | |\ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ Merge branch 'master' into bug/backend/bot-50/sync-ignore-guildsGravatar kwzrd2020-06-22-10/+85
| | | |\ \ \ \ \ \ \ \
| | | | * \ \ \ \ \ \ \ Merge branch 'master' into logging-testsGravatar Kieran Siek2020-06-22-200/+1047
| | | | |\ \ \ \ \ \ \ \ | | | | | | |_|_|/ / / / | | | | | |/| | | | | |
| | | | * | | | | | | | Logging Tests: Simplify `DEBUG_MODE` `False` testGravatar ks1292020-05-22-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove embed attributes checks - Replace `self.dev_log.assert_awaited_once_with` with `self.dev_log.assert_awaited_once`.
| | | | * | | | | | | | Merge branch 'master' into logging-testsGravatar ks1292020-05-17-10/+178
| | | | |\ \ \ \ \ \ \ \
| | | | * | | | | | | | | Created tests for `bot.cogs.logging` connected message.Gravatar ks1292020-04-14-0/+42
| | | | | |_|_|_|_|_|_|/ | | | | |/| | | | | | |
| | | * | | | | | | | | Sync: fix guild ID checkGravatar MarkKoz2020-06-17-16/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Need to compare the IDs against each other rather than the Guild object against the ID.
| | | * | | | | | | | | Sync: ignore 404s in on_user_updateGravatar MarkKoz2020-06-14-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 404s probably mean the user is from another guild.
| | | * | | | | | | | | Sync tests: test listeners ignore events from other guildsGravatar MarkKoz2020-06-14-10/+54
| | | | | | | | | | | |
| | * | | | | | | | | | In LinePaginator, truncate words that exceed scale_to_sizeGravatar Kyle Stanley2020-06-26-7/+5
| | | | | | | | | | | |
| | * | | | | | | | | | Update LinePaginator.add_line() testsGravatar Kyle Stanley2020-06-26-5/+5
| | | | | | | | | | | |
| | * | | | | | | | | | Merge branch 'master' into issue926-paginate-long-linesGravatar Kyle Stanley2020-06-04-40/+645
| | |\ \ \ \ \ \ \ \ \ \
| | * | | | | | | | | | | Improve LinePaginator to support long linesGravatar Kyle Stanley2020-06-04-7/+34
| | | |_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | |
| * | | | | | | | | | | Change tests to work with the new file layout.Gravatar Numerlor2020-07-15-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 326beebe9b097731a39ecc9868e5e1f2bd762aae