aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeLines
* Tests: simplify public flags handlingGravatar Matteo Bertucci2021-04-24-8/+2
| | | | Co_authored-by: Numerlor <[email protected]>
* Tests: members shouldn't have any public flagsGravatar Matteo Bertucci2021-04-17-0/+8
|
* Merge branch 'main' into doc-impGravatar kosayoda2021-04-12-13/+11
|\
| * Minor test changes for the !user embedGravatar Ben Soyka2021-04-05-10/+6
| |
| * Update information tests for new embed color logicGravatar Ben Soyka2021-04-04-6/+8
| |
| * Fix tests for paste uploads.Gravatar Den42002021-03-27-2/+2
| | | | | | | | Accounts for no redirects on extensions that are not `.py`.
* | Merge remote-tracking branch 'upstream/main' into doc-impGravatar Numerlor2021-03-25-19/+49
|\|
| * Merge branch 'main' into swfarnsworth/infraction_messageGravatar Matteo Bertucci2021-03-17-1/+1
| |\
| | * Fixed unittest for purge infraction.Gravatar xithrius2021-03-08-1/+1
| | |
| * | Update the tests to reflect changes in expected behavior.Gravatar swfarnsworth2021-02-28-5/+7
| | | | | | | | | | | | The DM sent to infracted users now instructs them to DM modmail if they want to discuss non-ban infractions, so the tests now check if that instruction is present. Note that there already exists a superfluous test for note infractions, for which no DM is sent by design.
| * | Instructions to dispute an infraction vary by infraction type.Gravatar swfarnsworth2021-02-25-3/+3
| |/ | | | | | | Previously, the user was instructed to email the appeals email for infraction types that don't remove one from the server. They are now instructed to DM ModMail except for Ban-type infractions. Also removed the URL string literal from the hyperlink to that URL.
| * Update token remover unittestsGravatar Matteo Bertucci2021-02-21-2/+2
| |
| * Merge pull request #1313 from HassanAbouelela/fix-voiceban-member-bugGravatar Senjan212021-02-03-11/+39
| |\ | | | | | | Adds Member Checks Before Changing Voice
| | * Restructures Voice Ban ActionGravatar Hassan Abouelela2021-01-21-11/+26
| | | | | | | | | | | | | | | Updates the voice ban action so the infraction pardoning is always run, and so all operations are handled in the _scheduler. Updates tests.
| | * Merge branch 'master' into fix-voiceban-member-bugGravatar Hassan Abouelela2021-01-20-35/+24
| | |\
| | * | Cleans Up TestsGravatar Hassan Abouelela2021-01-20-5/+5
| | | |
| | * | Adds Member Checks Before Changing VoiceGravatar Hassan Abouelela2020-11-30-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a check that checks if the user object is an instance of guild member, before performing guild operations. Adds tests. Signed-off-by: Hassan Abouelela <[email protected]>
* | | | Handle arbitrary amount of backslashes preceding the quote charGravatar Numerlor2021-03-07-0/+7
| | | | | | | | | | | | | | | | Tests for this were added additionally
* | | | Correct tests casesGravatar Numerlor2021-03-05-2/+2
| | | | | | | | | | | | | | | | | | | | The tests were not adjusted after the converter was corrected to accept digits
* | | | Add unittests for _split_signatureGravatar Numerlor2021-02-23-0/+59
| | | |
* | | | Merge remote-tracking branch 'upstream/master' into doc-impGravatar Numerlor2021-01-22-24/+23
|\| | |
| * | | Merge branch 'master' into mbaruh/sm-statsGravatar Matteo Bertucci2021-01-21-1/+1
| |\ \ \
| | * \ \ Merge branch 'master' into fuzz-the-matchesGravatar Mark2021-01-20-11/+18
| | |\ \ \ | | | | |/ | | | |/|
| | * | | Merge branch 'master' into fuzz-the-matchesGravatar kosayoda2021-01-18-295/+734
| | |\ \ \
| | * \ \ \ Merge branch 'master' into fuzz-the-matchesGravatar Leon Sandøy2020-10-10-167/+150
| | |\ \ \ \
| | * | | | | Fuzzy match roles for `!role` command.Gravatar kosayoda2020-10-01-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An arbitrary cutoff score of 80 is chosen because it works. A bug in the test for the same command is also fixed.
| * | | | | | Changed slowmode reset testsGravatar mbaruh2021-01-21-12/+4
| | |_|_|/ / | |/| | | |
| * | | | | Sync: test chunking of user requestsGravatar MarkKoz2021-01-18-11/+18
| | |_|/ / | |/| | |
* | | | | Merge remote-tracking branch 'upstream/master' into doc-impGravatar Numerlor2021-01-11-24/+6
|\| | | |
| * | | | Annihilate all traces of Developer and Unverified rolesGravatar mbaruh2021-01-11-3/+1
| | | | |
| * | | | "Pending: False" to "Verified: True" to agree with new semantics.Gravatar Steele2020-12-30-1/+1
| | | | |
| * | | | Remove obsolete test casesGravatar MarkKoz2020-12-19-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Forgot to remove these when removing `loop_is_running` in a previous commit.
| * | | | Fix silence testsGravatar Joe Banks2020-12-19-3/+3
| | | | |
| * | | | Fix silence command to use guild default roleGravatar Joe Banks2020-12-19-9/+0
| | | | |
| * | | | Fix pending testsGravatar Joe Banks2020-12-19-2/+2
| | | | |
| * | | | Added catching for unparsable short ISO dates.Gravatar Xithrius2020-12-11-0/+1
| | |_|/ | |/| |
* | | | Merge remote-tracking branch 'upstream/master' into doc-impGravatar Numerlor2020-12-11-86/+104
|\| | |
| * | | Merge branch 'master' into emojis-filterGravatar Daniel Brown2020-11-20-82/+79
| |\ \ \
| | * \ \ Merge master and fix conflictsGravatar MarkKoz2020-11-16-194/+633
| | |\ \ \
| | * | | | Syncers: make functions staticGravatar MarkKoz2020-10-17-49/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The classes no longer hold any state since they can use the global bot instance.
| | * | | | Use global bot instance in syncersGravatar MarkKoz2020-10-16-24/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They're pretty close to being fully static classes, but it's difficult to make the name attribute a static abstract property.
| | * | | | Use global bot instance in send_to_paste_serviceGravatar MarkKoz2020-10-16-21/+22
| | | |_|/ | | |/| |
| * | | | Cover Unicode emojis catching as antispam rule with test casesGravatar ks1292020-11-20-4/+25
| | |/ / | |/| |
* | | | Merge remote-tracking branch 'upstream/master' into doc-impGravatar Numerlor2020-11-10-194/+633
|\| | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # LICENSE-THIRD-PARTY # bot/exts/info/doc.py
| * | | Merge pull request #1212 from mbaruh/masterGravatar Mark2020-10-22-0/+7
| |\ \ \ | | | | | | | | | | Added interleaving text in code blocks option
| | * | | adjusted prepare_input docs and unittestsGravatar mbaruh2020-10-08-0/+7
| | | | |
| * | | | Merge master and fix LICENSE-THIRD-PARTY conflictGravatar MarkKoz2020-10-21-1/+147
| |\ \ \ \
| | * | | | Remove test for case when user don't have VV for voice banGravatar ks1292020-10-18-8/+0
| | | | | |
| | * | | | Fix voice ban command name in testGravatar ks1292020-10-18-1/+1
| | | | | |
| | * | | | Update tests to not automatically adding back verified after vban expireGravatar ks1292020-10-18-3/+0
| | | | | |