aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeLines
* Write AnyChannelConverter TestsGravatar Hassan Abouelela2020-11-23-0/+48
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Merge branch 'master' into voicechannel-muteGravatar Hassan Abouelela2020-11-22-86/+104
|\
| * Merge branch 'master' into emojis-filterGravatar Daniel Brown2020-11-20-82/+79
| |\
| | * Merge master and fix conflictsGravatar MarkKoz2020-11-16-194/+633
| | |\
| | * | Syncers: make functions staticGravatar MarkKoz2020-10-17-49/+32
| | | | | | | | | | | | | | | | | | | | The classes no longer hold any state since they can use the global bot instance.
| | * | Use global bot instance in syncersGravatar MarkKoz2020-10-16-24/+37
| | | | | | | | | | | | | | | | | | | | They're pretty close to being fully static classes, but it's difficult to make the name attribute a static abstract property.
| | * | Use global bot instance in send_to_paste_serviceGravatar MarkKoz2020-10-16-21/+22
| | | |
| * | | Cover Unicode emojis catching as antispam rule with test casesGravatar ks1292020-11-20-4/+25
| | |/ | |/|
* / | Adds VoiceChannel MuteGravatar Hassan Abouelela2020-11-16-6/+6
|/ / | | | | | | | | | | | | | | Adds an optional channel parameter to silence and unsilence commands, and adds ability to silence voice channels. TODO: New Tests Signed-off-by: Hassan Abouelela <[email protected]>
* | Merge pull request #1212 from mbaruh/masterGravatar Mark2020-10-22-0/+7
|\ \ | | | | | | Added interleaving text in code blocks option
| * | adjusted prepare_input docs and unittestsGravatar mbaruh2020-10-08-0/+7
| | |
* | | Merge master and fix LICENSE-THIRD-PARTY conflictGravatar MarkKoz2020-10-21-1/+147
|\ \ \
| * | | Remove test for case when user don't have VV for voice banGravatar ks1292020-10-18-8/+0
| | | |
| * | | Fix voice ban command name in testGravatar ks1292020-10-18-1/+1
| | | |
| * | | Update tests to not automatically adding back verified after vban expireGravatar ks1292020-10-18-3/+0
| | | |
| * | | Fix user not found info field testGravatar ks1292020-10-18-1/+1
| | | |
| * | | Fix linting for voice gate and voice banGravatar ks1292020-10-11-1/+1
| | | |
| * | | Create test for voice unban fail send DMGravatar ks1292020-10-11-0/+15
| | | |
| * | | Create base test for voice unbanGravatar ks1292020-10-11-0/+18
| | | |
| * | | Create test for voice ban pardon when user not foundGravatar ks1292020-10-11-0/+7
| | | |
| * | | Shorten voice ban reason and create test for itGravatar ks1292020-10-11-0/+17
| | | |
| * | | Add Voice Ban test about calling apply_infractionGravatar ks1292020-10-11-0/+15
| | | |
| * | | Create test for voice ban applying role remove ignore.Gravatar ks1292020-10-11-0/+15
| | | |
| * | | Check arguments for get_active_infraction in voice ban testsGravatar ks1292020-10-11-1/+1
| | | |
| * | | Create test to check does this pass proper kwargs to infraction postingGravatar ks1292020-10-11-0/+12
| | | |
| * | | Create test for case when posting infraction failsGravatar ks1292020-10-11-1/+12
| | | |
| * | | Create test for case when user already have active Voice BanGravatar ks1292020-10-11-2/+11
| | | |
| * | | Create test for case when trying to voice ban user who haven't passed gateGravatar ks1292020-10-11-2/+11
| | | |
| * | | Create test for voice unbanGravatar ks1292020-10-11-0/+6
| | | |
| * | | Create test for temporary voice banGravatar ks1292020-10-11-1/+7
| | | |
| * | | Create test for permanent voice banGravatar ks1292020-10-11-0/+17
| | |/ | |/|
* | | Silence tests: update docstrings in notifier testsGravatar MarkKoz2020-10-21-2/+2
| | |
* | | Silence: rename function to reduce ambiguityGravatar MarkKoz2020-10-18-8/+8
| | |
* | | Silence: require only 1 permission to be False for a manual unsilenceGravatar MarkKoz2020-10-09-0/+2
| | | | | | | | | | | | | | | | | | | | | Previously, both sending messages and adding reactions had to be false in order for the manual unsilence failure message to be sent. Because staff may only set one of these manually, the message should be sent if at least one of the permissions is set.
* | | Merge master, fix conflicts, and create redis session in silence testsGravatar MarkKoz2020-10-09-1620/+1015
|\| |
| * | Refactor tests to use updated changes to syncer.py and API.Gravatar RohanJnr2020-10-07-58/+59
| | |
| * | Merge remote-tracking branch 'upstream/master' into smart_syncing_usersGravatar RohanJnr2020-10-04-72/+1
| |\ \
| | * | Merge branch 'master' into discordpy-15Gravatar Senjan212020-10-03-62/+61
| | |\|
| | * | add missing test for `user` commandGravatar Senjan212020-10-03-0/+5
| | | |
| | * | Add missing blank line to satisfy the linting godsGravatar Senjan212020-10-02-0/+1
| | | |
| | * | Remove failing unit testsGravatar Senjan212020-10-02-78/+0
| | | | | | | | | | | | | | | | Testing `information` cog seems redutant as it is not too important part of the bot.
| * | | Merge branch 'master' into smart_syncing_usersGravatar Rohan Reddy Alleti2020-10-02-65/+63
| |\ \ \ | | | |/ | | |/|
| | * | Merge branch 'master' into discord-py-upgrade-migrateGravatar MarkKoz2020-10-02-1386/+2947
| | |\|
| | * | (Snekbox Tests, discord.py 1.3.x Migrations): Fixed wrong assertion of help ↵Gravatar ks1292020-04-03-1/+1
| | | | | | | | | | | | | | | | command call.
| | * | (Sync Cog Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks1292020-04-03-2/+2
| | | | | | | | | | | | | | | | commands calling.
| | * | (Silence Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks1292020-04-03-2/+2
| | | | | | | | | | | | | | | | commands calling.
| | * | (Snekbox Tests, discord.py 1.3.x Migrations): Removed `.callback` from ↵Gravatar ks1292020-04-03-4/+4
| | | | | | | | | | | | | | | | commands calling.
| | * | (Information Tests): Replaced `asyncio.run` with `await` in `UserCommandTests`.Gravatar ks1292020-04-03-7/+6
| | | |
| | * | (Information Tests): Replaced `asyncio.run` with `await` in `UserEmbedTests`.Gravatar ks1292020-04-03-8/+8
| | | |
| | * | (Information Tests): Replaced `asyncio.run` with `await` in ↵Gravatar ks1292020-04-03-2/+2
| | | | | | | | | | | | | | | | `UserInfractionHelperMethodTests.`