aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeLines
* Merge branch 'main' into voicechannel-muteGravatar Xithrius2021-07-08-86/+162
|\
| * Merge branch 'main' into feat/code-jam-channels-automationGravatar ToxicKidz2021-07-05-19/+70
| |\
| | * Adds Documentation For Running A Single Test (#1669)Gravatar Hassan Abouelela2021-07-05-0/+31
| | | | | | | | | | | | | | | | | | | | | Adds a portion to the testing README explaining how and when to run an individual test file when working with tests. Additionally adds a table of contents as the document has become quite long. Signed-off-by: Hassan Abouelela <[email protected]>
| | * Merge branch 'main' into xdistGravatar Hassan Abouelela2021-06-27-17/+32
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]> # Conflicts: # poetry.lock
| | | * Tests: update infraction DM to mention UTCGravatar Matteo Bertucci2021-06-10-2/+2
| | | |
| | | * Renamed blocked_extension_str to blocked_extension.Gravatar Xithrius2021-06-06-1/+1
| | | |
| | | * Added new formats to unittest docstrings.Gravatar Xithrius2021-06-06-2/+2
| | | |
| | | * Added subtests for `.txt`, `.json`, and `.csv` files.Gravatar Xithrius2021-06-06-16/+28
| | | |
| | | * Added .txt file extension to antimalware test.Gravatar Xithrius2021-06-06-1/+4
| | | |
| | * | Renamed Test Task In DocumentationGravatar Hassan Abouelela2021-06-12-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Fix Script Count In DocumentationGravatar Hassan Abouelela2021-06-07-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Adds Fast-Test TaskGravatar Hassan Abouelela2021-06-07-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Hassan Abouelela <[email protected]>
| | * | Switches To Pytest As Test RunnerGravatar Hassan Abouelela2021-06-07-1/+5
| | |/ | | | | | | | | | | | | | | | | | | | | | Switches the test runner from unittest to pytest, to allow the usage of plugins such as xdist. This commit also adds pytest-cov purely as a generator for .coverage files. Signed-off-by: Hassan Abouelela <[email protected]>
| * / chore: Update tests for the new codejam create commandGravatar ToxicKidz2021-07-05-67/+92
| |/
* | Properly Handles Indefinite SilencesGravatar Hassan Abouelela2021-06-05-1/+8
| | | | | | | | | | | | | | Fixes a bug that stopped the duration `forever` from getting used as a valid duration for silence. Signed-off-by: Hassan Abouelela <[email protected]>
* | Merge branch 'main' into voicechannel-muteGravatar Kieran Siek2021-06-05-20/+7
|\|
| * Updates Usages Of Pipenv To PoetryGravatar Hassan Abouelela2021-05-11-5/+5
| | | | | | | | | | | | | | Updates the Dockerfile, pre-commit, CI, and documentation to reflect the new dependency manager. Dockerfile is also updated to 3.9. Signed-off-by: Hassan Abouelela <[email protected]>
| * Remove test for un-available function.Gravatar rohan2021-05-10-13/+0
| |
| * (infractions): Modify voice ban tests according to new changes in 3272605Gravatar Shivansh2021-05-07-2/+2
| |
* | Updates Shh Command To Mirror SilenceGravatar Hassan Abouelela2021-05-13-10/+74
| | | | | | | | | | | | | | | | Updates the shh and unshh commands from the error handler to accept channel and kick arguments, to give them the same interface as the silence and unsilence command. Signed-off-by: Hassan Abouelela <[email protected]>
* | Updates Silence To Accept Duration Or ChannelGravatar Hassan Abouelela2021-05-13-8/+83
| | | | | | | | | | | | | | Updates the silence command to accept the silence duration or channel as the first argument to the command. Updates tests. Signed-off-by: Hassan Abouelela <[email protected]>
* | Updates Silence To Use `.format`Gravatar Hassan Abouelela2021-05-12-10/+9
| | | | | | | | | | | | | | Uses `.format` to create silence and unsilence messages instead of `.replace`. Signed-off-by: Hassan Abouelela <[email protected]>
* | Merge remote-tracking branch 'fork/voicechannel-mute' into voicechannel-muteGravatar Hassan Abouelela2021-05-09-0/+554
|\ \
| * | Merge branch 'main' into voicechannel-muteGravatar Hassan Abouelela2021-05-04-0/+554
| |\|
| | * Address error behavior update.Gravatar kosayoda2021-04-28-1/+1
| | | | | | | | | | | | | | | BadUnionArgument sends command help after: https://github.com/python-discord/bot/pull/1434
| | * Remove BrandingError check.Gravatar kosayoda2021-04-28-5/+0
| | | | | | | | | | | | | | | This was removed in the branding manager rewrite: https://github.com/python-discord/bot/pull/1463/
| | * Merge branch 'main' into error-handler-testGravatar kosayoda2021-04-28-33/+100
| | |\
| | | * Merge branch 'main' into feat/1365/add-bot-badges-to-userGravatar Matteo Bertucci2021-04-25-1/+1
| | | |\
| | | * | 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
| | | | |
| | * | | Update error handler tests to match with recent changesGravatar ks1292021-02-19-9/+72
| | | | |
| | * | | Remove verification channel special case from error handler testsGravatar ks1292021-02-19-13/+5
| | | | | | | | | | | | | | | | | | | | We don't have a verification channel anymore, so this have no point and this just give errors.
| | * | | Merge branch 'master' into error-handler-testGravatar ks1292021-02-19-59/+68
| | |\ \ \
| | * \ \ \ Merge branch 'master' into error-handler-testGravatar ks1292020-11-21-784/+893
| | |\ \ \ \
| | * | | | | EH tests: Fix InWhitelistCheckFailure import pathGravatar ks1292020-09-27-1/+1
| | | | | | |
| | * | | | | EH Tests: Fix order of importsGravatar ks1292020-09-27-2/+2
| | | | | | |
| | * | | | | Merge remote-tracking branch 'upstream/master' into error-handler-testGravatar ks1292020-09-27-988/+2712
| | |\ \ \ \ \
| | * | | | | | EH Tests: Create test for `handle_unexpected_error`Gravatar ks1292020-05-19-2/+37
| | | | | | | |
| | * | | | | | EH Tests: Create test for `ErrorHandler` `setup` functionGravatar ks1292020-05-19-1/+11
| | | | | | | |
| | * | | | | | EH Tests: Create tests for `handle_api_error`Gravatar ks1292020-05-19-0/+33
| | | | | | | |
| | * | | | | | EH Tests: Merge test classesGravatar ks1292020-05-19-11/+4
| | | | | | | |
| | * | | | | | EH Tests: Create test for `handle_check_failure`Gravatar ks1292020-05-19-0/+48
| | | | | | | |
| | * | | | | | EH Tests: Create test for `handle_input_error`Gravatar ks1292020-05-19-6/+36
| | | | | | | |
| | * | | | | | EH Tests: Created test for `handle_user_input_error` `get_help_command`Gravatar ks1292020-05-19-0/+16
| | | | | | | |
| | * | | | | | EH Tests: Added test for `try_get_tag` `ResponseCodeError` ignoreGravatar ks1292020-05-19-0/+6
| | | | | | | |
| | * | | | | | EH Tests: Added test for `try_get_tag` `ctx.invoke` callingGravatar ks1292020-05-19-0/+7
| | | | | | | |
| | * | | | | | EH Tests: Added test for `try_get_tag` tag name converting failingGravatar ks1292020-05-19-0/+9
| | | | | | | |
| | * | | | | | EH Tests: Added test for `try_get_tag` successful tag name convertingGravatar ks1292020-05-19-0/+9
| | | | | | | |
| | * | | | | | EH Tests: Added test for `try_get_tag` error handlingGravatar ks1292020-05-19-2/+11
| | | | | | | |
| | * | | | | | EH Tests: Added test for `try_get_tag` checks failGravatar ks1292020-05-19-2/+8
| | | | | | | |