|  | Commit message (Collapse) | Author | Age | Lines | 
|---|
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| | tests failing. | 
| | |  | 
| | |  | 
| | 
| 
| 
| | `post_user` test. | 
| | 
| 
| 
| | test, renamed current `args` to `user`, applied this in code. | 
| | |  | 
| | 
| 
| 
| | `has_active_infraction` test `infraction_nr` variable and changes this to more unique number. | 
| | 
| 
| 
| | test cases listing, added icon to test cases in `notify_pardon` test | 
| | 
| 
| 
| | `has_active_infraction` test. | 
| | 
| 
| 
| | testing, removed old. | 
| | 
| 
| 
| | `post_user` and `send_private_embed` test. | 
| | 
| 
| 
| | `send_private_embed` test | 
| | |  | 
| | 
| 
| 
| | content test), improved test cases. | 
| | 
| 
| 
| | `discord.Embed` in `notify_pardon` test. | 
| | 
| 
| 
| | `notify_pardon`, applied changes to test cases. | 
| | 
| 
| 
| | `Embed`. | 
| | 
| 
| 
| | moved `send_private_embed` mock reset to beginning of subtest. | 
| | 
| 
| 
| | removed these in test cases too in `notify_infraction` test. | 
| | |  | 
| | 
| 
| 
| | hard-coded args, moved mocks resetting to beginning of subtest, added `ctx.send` check only is infraction nr and type in sent string. | 
| | 
| 
| 
| | `has_active_infraction` test. | 
| | 
| 
| 
| | `utils` instead and added `utils` before variables and function that was imported directly before. | 
| | |  | 
| | 
| 
| 
| | errors | 
| | |  | 
| | 
| 
| 
| | `test_send_private_embed`. | 
| | |  | 
| | 
| 
| 
| | `ctx.send` raising errors, added check for return values and `send_private_embed` call. | 
| | 
| 
| 
| | `ctx.send` raising errors, added check for return values and `send_private_embed` call. | 
| | 
| 
| 
| | `has_active_infraction` tests: `ctx.send` and `bot.api_client.get` calling. | 
| | 
| 
| 
| | instead creating new one | 
| | 
| 
| 
| | (`self.bot.api_client.get`) | 
| | |  | 
| | 
| 
| 
| | cases testing to test cases listing, added side_effect resetting. | 
| | 
| 
| 
| | created __init__.py for moderation tests | 
| | 
| 
| 
| | Fixed errors. | 
| | |  | 
| | |  | 
| | |  | 
| | |  | 
| | 
| 
| 
| | created new params for tests class |