aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Expand)AuthorAgeLines
* (Moderation Utils Tests): Move errors from booleans to actual errors in `post...Gravatar ks1232020-03-12-7/+4
* (Moderation Utils Tests): Hard-coded `self.ctx` argument to `post_user` test,...Gravatar ks1232020-03-12-5/+5
* (Moderation Utils Tests): Fixed formatting in `notify_infraction` test.Gravatar ks1232020-03-12-3/+1
* (Moderation Utils Tests): Removed unnecessary symbols from `has_active_infrac...Gravatar ks1232020-03-12-2/+2
* (Moderation Utils Tests): Moved embed generating to test cases loop from test...Gravatar ks1232020-03-12-10/+10
* (Moderation Utils Tests): Added params to variable in `has_active_infraction`...Gravatar ks1232020-03-12-5/+7
* (Moderation Utils Tests): Create extra new tests set for `post_infraction` te...Gravatar ks1232020-03-12-103/+60
* (Moderation Utils Tests): Moved mock resetting to beginning of subtest in `po...Gravatar ks1232020-03-08-4/+2
* (Moderation Utils Tests): Removed unnecessary `if` check from `send_private_e...Gravatar ks1232020-03-08-2/+1
* (Moderation Utils Tests): Hard-coded args for `send_private_embed` test.Gravatar ks1232020-03-08-10/+6
* (Moderation Utils Tests): Added new check to `post_user` test (`ctx.send` con...Gravatar ks1232020-03-08-35/+16
* (Moderation Utils Tests): Moved `expected_output` from `Dict` to `discord.Emb...Gravatar ks1232020-03-08-15/+9
* (Moderation Utils Tests): Removed unnecessary `ctx.send` `side_effect` from `...Gravatar ks1232020-03-08-11/+4
* (Moderation Utils Tests): Moved `notify_infraction` embed check from dict to ...Gravatar ks1232020-03-08-28/+43
* (Moderation Utils Tests): Removed unnecessary `ctx.send` mock resetting, move...Gravatar ks1232020-03-08-4/+1
* (Moderation Utils Tests): Removed unnecessary `ctx.send` `side_effect` and re...Gravatar ks1232020-03-08-12/+6
* (Moderation Utils Tests): Removed `Dict` unpacking in `notify_infraction` test.Gravatar ks1232020-03-08-20/+20
* (Moderation Utils Tests): Cleaned up `has_active_infraction` test cases, hard...Gravatar ks1232020-03-08-30/+11
* (Moderation Utils Tests): Hard-coded API get request params for `has_active_i...Gravatar ks1232020-03-08-13/+6
* (Moderation Utils Tests): Removed large `utils` parts import, use import `uti...Gravatar ks1232020-03-08-12/+10
* (Moderation Utils Tests): Fixed docstrings, added more information to these.Gravatar ks1232020-03-08-6/+8
* (Moderation Utils Tests): Fixed errors, added checks before assertions for er...Gravatar ks1232020-03-05-1/+4
* (Moderation Utils Tests): Added additional assertions to `post_infraction` test.Gravatar ks1232020-03-05-8/+54
* (Moderation Utils Tests): Added `user.send` call assertion to `test_send_priv...Gravatar ks1232020-03-05-0/+2
* (Moderation Utils Tests): Added API POST call assertion to `test_post_user`.Gravatar ks1232020-03-05-5/+24
* (Moderation Utils Tests): Added new assertions to `notify_pardon`, added `ctx...Gravatar ks1232020-03-05-6/+24
* (Moderation Utils Tests): Added new assertions to `post_infraction`, added `c...Gravatar ks1232020-03-05-11/+33
* (Moderation Utils Tests): Added following new assertions to `has_active_infra...Gravatar ks1232020-03-05-3/+27
* (Moderation Utils Tests): Use `bot.cogs.moderation.utils`'s `RULES_URL` inste...Gravatar ks1232020-03-05-2/+1
* (Moderation Utils Tests): Removed unnecessary `AsyncMock()` from `__init__` (...Gravatar ks1232020-03-05-1/+0
* (Moderation Utils Tests): Moved `has_active_infraction` tests to one test.Gravatar ks1232020-03-05-22/+35
* (Moderation Utils Tests): `send_private_embed` moved exception creating from ...Gravatar ks1232020-03-05-4/+6
* (Moderation Utils Tests): Created tests for `post_infraction` function, creat...Gravatar ks1232020-03-05-1/+68
* (Moderation Utils Tests): Created tests for `send_private_embed` function + F...Gravatar ks1232020-03-04-3/+44
* (Moderation Utils Tests): Created tests for `post_user` function.Gravatar ks1232020-03-04-1/+59
* (Moderation Utils Tests): Created tests for `notify_pardon` function.Gravatar ks1232020-03-04-2/+39
* (Moderation Utils Tests): Created tests for `notify_infraction` function.Gravatar ks1232020-03-04-2/+91
* (Moderation Utils Tests): Created tests for `has_active_infraction` functionGravatar ks1232020-03-03-0/+24
* (Moderation Utils Tests): Added imports, modified tests class instance and cr...Gravatar ks1232020-03-03-5/+7
* Created file for moderation utils tests + added setUp to this.Gravatar ks1232020-03-03-0/+12
* Modify log test regex to be non-os-specificGravatar S. Co12020-03-01-1/+1
* Migrate snekbox tests to Python 3.8's unittestGravatar Sebastiaan Zeeff2020-02-29-41/+27
* Merge branch 'master' into python38-migrationGravatar Sebastiaan Zeeff2020-02-29-23/+376
|\
| * Merge branch 'master' into fuzzy_zero_divGravatar Shirayuki Nekomata2020-02-29-0/+380
| |\
| | * Merge remote-tracking branch 'origin/master' into eval-enhancementsGravatar MarkKoz2020-02-28-471/+1844
| | |\
| | * | Return only the new code in continue_eval and check for truthiness insteadGravatar Matteo2020-02-28-4/+4
| | * | Use unicode code point instead of literal for the snekbox re-eval emojiGravatar Matteo2020-02-27-3/+3
| | * | Split the eval command procedure into two functions.Gravatar Matteo2020-02-27-69/+81
| | * | Merge branch 'master' into eval-enhancementsGravatar Matteo Bertucci2020-02-18-1/+8
| | |\ \
| | * | | Use kwargs to set mock attributesGravatar Matteo2020-02-18-25/+11