|  | Commit message (Collapse) | Author | Lines | 
|---|
|  | 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 |