aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-09-20Try to fix location from where post infraction test get IDGravatar ks129-2/+2
2020-09-20Remove useless textwrap importGravatar ks129-1/+0
2020-09-20Remove special shortening from reasonGravatar ks129-1/+1
2020-09-13Shorten infraction text when any other field than reason is too longGravatar ks129-0/+4
2020-07-06Restore newlines for `notify_infraction` embed descriptionGravatar Karlis S-14/+14
Truncate reason instead full content to avoid removing newlines
2020-06-25Remove unnecessary if statement from send_private_embed testGravatar ks129-2/+1
2020-06-24Reorder tests order to match with original fileGravatar ks129-65/+65
2020-06-24Remove unnecessary `textwrap.dedent` in `notify_infraction`Gravatar ks129-6/+4
2020-06-24Move infraction description template back to main file, apply it thereGravatar ks129-16/+18
2020-06-24Fix test case key name in `test_notify_infraction`Gravatar ks129-1/+1
2020-06-24Add other parameters to `test_post_user` `not_user` mockGravatar ks129-5/+5
2020-06-24Remove unnecessary `log.debug` assert in `test_post_user`Gravatar ks129-8/+1
2020-06-24Merge 2 if-else branches is `test_post_user`Gravatar ks129-5/+2
2020-06-24Replace `True` test with `In` test on `test_post_user`Gravatar ks129-1/+1
2020-06-24Sync keys, variable names and kwargs in `test_post_user`Gravatar ks129-12/+12
2020-06-24Remove case variable definitions in `test_notify_infraction`Gravatar ks129-10/+6
2020-06-24Mod Utils Tests: Remove unnecessary `user` from test nameGravatar ks129-1/+1
2020-06-24Mod Utils Tests: Change `True` assert to `In` assert for message checkGravatar ks129-2/+3
2020-06-24Mod Utils Tests: Move some test cases to `namedtuple`Gravatar ks129-66/+29
2020-06-24Mod Utils Tests: Move INFRACTION_DESCRIPTION_TEMPLATE to tests fileGravatar ks129-11/+11
2020-06-24Mod Utils: Remove unnecessary line splitting on embed footer addingGravatar ks129-3/+1
2020-06-12Increase coverage of moderation utils testsGravatar ks129-5/+36
2020-06-12Implement description shortening to infraction notify testsGravatar ks129-8/+27
2020-06-12Remove deprecated avatar hash in `test_post_user`Gravatar ks129-3/+1
2020-06-11Mod Utils: Add missing import what was removedGravatar ks129-0/+1
Restore `textwrap` import that was removed with merge.
2020-06-11Fix trailing whitespace in Action fileGravatar Joseph Banks-1/+1