| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Restore newlines for `notify_infraction` embed description | 2020-07-06 | -11/+11 | |
| | | | | | Truncate reason instead full content to avoid removing newlines | |||
| * | Remove unnecessary if statement from send_private_embed test | 2020-06-25 | -2/+1 | |
| | | ||||
| * | Reorder tests order to match with original file | 2020-06-24 | -65/+65 | |
| | | ||||
| * | Move infraction description template back to main file, apply it there | 2020-06-24 | -11/+5 | |
| | | ||||
| * | Fix test case key name in `test_notify_infraction` | 2020-06-24 | -1/+1 | |
| | | ||||
| * | Add other parameters to `test_post_user` `not_user` mock | 2020-06-24 | -5/+5 | |
| | | ||||
| * | Remove unnecessary `log.debug` assert in `test_post_user` | 2020-06-24 | -8/+1 | |
| | | ||||
| * | Merge 2 if-else branches is `test_post_user` | 2020-06-24 | -5/+2 | |
| | | ||||
| * | Replace `True` test with `In` test on `test_post_user` | 2020-06-24 | -1/+1 | |
| | | ||||
| * | Sync keys, variable names and kwargs in `test_post_user` | 2020-06-24 | -12/+12 | |
| | | ||||
| * | Remove case variable definitions in `test_notify_infraction` | 2020-06-24 | -10/+6 | |
| | | ||||
| * | Mod Utils Tests: Remove unnecessary `user` from test name | 2020-06-24 | -1/+1 | |
| | | ||||
| * | Mod Utils Tests: Change `True` assert to `In` assert for message check | 2020-06-24 | -2/+3 | |
| | | ||||
| * | Mod Utils Tests: Move some test cases to `namedtuple` | 2020-06-24 | -66/+29 | |
| | | ||||
| * | Mod Utils Tests: Move INFRACTION_DESCRIPTION_TEMPLATE to tests file | 2020-06-24 | -5/+11 | |
| | | ||||
| * | Increase coverage of moderation utils tests | 2020-06-12 | -5/+36 | |
| | | ||||
| * | Implement description shortening to infraction notify tests | 2020-06-12 | -8/+27 | |
| | | ||||
| * | Remove deprecated avatar hash in `test_post_user` | 2020-06-12 | -3/+1 | |
| | | ||||
| * | Merge branch 'master' into mod-utils-tests | 2020-06-11 | -95/+715 | |
| |\ | ||||
| | * | Merge branch 'master' into bug/backend/906/converter-year-range | 2020-06-10 | -47/+824 | |
| | |\ | ||||
| | | * | Merge branch 'master' into staff_count_server | 2020-06-05 | -5/+0 | |
| | | |\ | ||||
| | | | * | Merge branch 'master' into stop_sending_avatar_hash | 2020-05-31 | -31/+638 | |
| | | | |\ | ||||
| | | | * | | Fix failing tests related to avatar_hash | 2020-05-27 | -5/+0 | |
| | | | | | | ||||
| | | * | | | Merge branch 'master' into staff_count_server | 2020-05-31 | -0/+247 | |
| | | |\ \ \ | | | | |/ | | | |/| | ||||
| | | | * | | Merge branch 'master' into ban-kick-reason-length | 2020-05-30 | -31/+550 | |
| | | | |\ \ | ||||
| | | | | * \ | Merge branch 'master' into test_antimalware | 2020-05-30 | -35/+398 | |
| | | | | |\ \ | ||||
| | | | | * | | | AntiMalware tests - Switched from monkeypatch to unittest.patch | 2020-05-25 | -2/+2 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Refactor - Moved embed descriptions into constants, added tests ↵ | 2020-05-11 | -18/+30 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for embed descriptions | |||
| | | | | * | | | AntiMalware Tests - Removed exact log content checks | 2020-05-11 | -19/+2 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - added a missing case for no extensions in ↵ | 2020-05-11 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | test_get_disallowed_extensions | |||
| | | | | * | | | AntiMalware Tests - extracted the method for determining disallowed ↵ | 2020-05-11 | -6/+23 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | extensions and added a test for it. | |||
| | | | | * | | | AntiMalware Tests - implemented minor feedback | 2020-05-11 | -12/+12 | |
| | | | | | | | | ||||
| | | | | * | | | Update tests/bot/cogs/test_antimalware.py | 2020-05-08 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]> | |||
| | | | | * | | | AntiMalware Tests - Switched to unittest.IsolatedAsyncioTestCase | 2020-05-07 | -29/+19 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittest for txt file attachment | 2020-05-07 | -2/+23 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittest for valid attachment | 2020-05-07 | -0/+9 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittest message deletion log | 2020-05-07 | -4/+28 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittest for cog setup | 2020-05-07 | -0/+10 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittest for messages that were deleted in the ↵ | 2020-05-07 | -1/+19 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | meantime. | |||
| | | | | * | | | AntiMalware Tests - Added unittest for the embed for a python file. | 2020-05-07 | -1/+24 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittest for messages send by staff | 2020-05-07 | -1/+12 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittests for deletion of message and ignoring of dms | 2020-05-07 | -1/+21 | |
| | | | | | | | | ||||
| | | | | * | | | AntiMalware Tests - Added unittest for message without attachment | 2020-05-07 | -0/+20 | |
| | | | | | | | | ||||
| | | | * | | | | Infr. Tests: Add `apply_infraction` awaiting assertion with args | 2020-05-30 | -0/+6 | |
| | | | | | | | | ||||
| | | | * | | | | Simplify infraction reason truncation tests | 2020-05-30 | -13/+7 | |
| | | | | | | | | ||||
| | | | * | | | | Infr Tests: Make `get_active_infraction` return `None` | 2020-05-20 | -1/+1 | |
| | | | | | | | | ||||
| | | | * | | | | Infr. Test: Replace `get_active_mock` return value | 2020-05-20 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | Replace `{"foo": "bar"}` with `{"id": 1}` | |||
| | | | * | | | | Infr. Tests: Replace `str` with `dict` | 2020-05-20 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | To allow `.get`, I had to replace `str` return value with `dict` | |||
| | | | * | | | | Infr. Tests: Add more content to await comment | 2020-05-20 | -2/+2 | |
| | | | | | | | | ||||
| | | | * | | | | ModLog Tests: Fix embed description truncate test | 2020-05-20 | -1/+1 | |
| | | | | | | | | ||||