aboutsummaryrefslogtreecommitdiffstats
path: root/tests (follow)
Commit message (Collapse)AuthorAgeLines
...
| | | * | | | | Fixed old tests and added 2 new onesGravatar wookie1842020-09-01-0/+22
| | | | | | | |
| | * | | | | | Removed ImagePaginator testing.Gravatar Xithrius2020-08-31-15/+0
| | |/ / / / /
| | * | | | | Merge branch 'master' into feat/backend/707/alias-decoratorGravatar Shirayuki Nekomata2020-08-26-32/+55
| | |\ \ \ \ \
| | | * | | | | Update tests for user commandsGravatar Joseph Banks2020-08-14-32/+55
| | | | |_|_|/ | | | |/| | |
| | * / | | | Include root aliases in the command name conflict testGravatar MarkKoz2020-08-22-0/+1
| | |/ / / /
| * | | | | Change tests to work with the new file layout.Gravatar Numerlor2020-07-15-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 326beebe9b097731a39ecc9868e5e1f2bd762aae
| * | | | | Merge branch 'master' into truncate-internal-evalGravatar Numerlor2020-06-21-179/+662
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/utils/__init__.py
| * \ \ \ \ \ Merge branch 'master' into truncate-internal-evalGravatar Numerlor2020-05-30-33/+390
| |\ \ \ \ \ \
| * | | | | | | Add tests for `send_to_paste_service`.Gravatar Numerlor2020-05-08-0/+74
| | | | | | | |
| * | | | | | | Adjust behaviour for new func usage.Gravatar Numerlor2020-05-07-14/+5
| | | | | | | |
| * | | | | | | Remove tests from moved function.Gravatar Numerlor2020-05-07-15/+0
| | |_|_|_|/ / | |/| | | | |
* | | | | | | Resolve conflicts in filtering.pyGravatar MarkKoz2020-08-10-9/+15
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge branch 'master' into whitelist_systemGravatar Leon Sandøy2020-08-03-3/+946
| |\ \ \ \ \ \
| * | | | | | | Fix broken antimalware tests.Gravatar Leon Sandøy2020-07-29-1/+1
| | | | | | | |
| * | | | | | | Restructure bot.filter_list_cache.Gravatar Leon Sandøy2020-07-29-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an optimization designed to eliminate all the list comprehensions we were doing inside antimalware and filtering. The cache is now structured so that the content is the key and the metadata is the value.
| * | | | | | | Rename AllowDenyList to FilterListsGravatar Leon Sandøy2020-07-27-1/+1
| | | | | | | |
| * | | | | | | Remove AntiMalWare constants, use cache data.Gravatar Leon Sandøy2020-07-18-9/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also updates the tests for this cog.
* | | | | | | | Use format_user in token remover testGravatar MarkKoz2020-08-10-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The point of format_user is to have a consistent format across the code base. That should apply to tests too.
* | | | | | | | Fix conflict with disabling filter ping for DMsGravatar MarkKoz2020-08-02-0/+173
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Jam tests: use the MAX_CHANNELS constant moreGravatar MarkKoz2020-07-22-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's clearer to write MAX_CHANNELS - 2 than a literal 48.
| * | | | | | | Jam tests: assert equality of new categoryGravatar MarkKoz2020-07-22-1/+2
| | | | | | | |
| * | | | | | | Jam tests: add subtests to non-existent category testGravatar MarkKoz2020-07-22-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test has to account for not only the name not matching, but also a lack of available spaces for new channels.
| * | | | | | | Jam tests: fix category testGravatar MarkKoz2020-07-22-14/+24
| | | | | | | |
| * | | | | | | Merge branch 'master' into jam-testGravatar Mark2020-07-22-185/+1384
| |\ \ \ \ \ \ \
| * | | | | | | | Jam Tests: space out lines for readabilityGravatar MarkKoz2020-07-22-0/+6
| | | | | | | | |
| * | | | | | | | Jam Tests: remove default_args attributeGravatar MarkKoz2020-07-22-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Kind of redundant since it's only used by two tests.
| * | | | | | | | Jam Tests: re-arrange tests to follow definition order in the cogGravatar MarkKoz2020-07-22-10/+10
| | | | | | | | |
| * | | | | | | | Jam Tests: fix utils patchGravatar MarkKoz2020-07-22-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop needs to be called on the patcher, not the mock. Furthermore, using addCleanup is safer than tearDown because the latter may not be called if an exception is raised in setUp.
| * | | | | | | | Jam Tests: Fix `test_duplicate_member_provided` assertionsGravatar ks1292020-06-13-1/+3
| | | | | | | | |
| * | | | | | | | Jam Tests: Fix wrong function name and convert them to mocksGravatar ks1292020-06-13-1/+3
| | | | | | | | |
| * | | | | | | | Jam Tests: Simplify and make tests more secureGravatar ks1292020-06-13-6/+4
| | | | | | | | |
| * | | | | | | | Jam Tests: Update `Context` to `Guild` for tests tooGravatar ks1292020-06-13-19/+19
| | | | | | | | |
| * | | | | | | | Jam Tests: Apply recent command splitting to `test_jam_roles_adding`Gravatar ks1292020-06-11-2/+2
| | | | | | | | |
| * | | | | | | | Jam Tests: Remove unnecessary `Context` mock resetsGravatar ks1292020-06-11-2/+0
| | | | | | | | |
| * | | | | | | | Jam Tests: Implement default argumentsGravatar ks1292020-06-11-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid repeating same arguments, added default arguments that is unpacked on function call.
| * | | | | | | | Jam Tests: Apply recent changes to `test_category_dont_exist`Gravatar ks1292020-06-11-2/+1
| | | | | | | | |
| * | | | | | | | Jam Tests: Simplify and update `test_category_channel_exist`Gravatar ks1292020-06-11-3/+1
| | | | | | | | |
| * | | | | | | | Jam Tests: Merge text and voice channel creation testsGravatar ks1292020-06-11-21/+24
| | | | | | | | |
| * | | | | | | | Jam Tests: Apply recent changes to overwrites testGravatar ks1292020-06-11-2/+1
| | | | | | | | |
| * | | | | | | | Jam Tests: Add more assertions to result message sending testGravatar ks1292020-06-11-1/+7
| | | | | | | | |
| * | | | | | | | Jam Tests: Make early exiting test more secureGravatar ks1292020-06-11-2/+6
| | | | | | | | |
| * | | | | | | | Jam Tests: Use class member of patch instead decorator on most of testsGravatar ks1292020-06-11-21/+19
| | | | | | | | |
| * | | | | | | | Jam Tests: Fix `test_result_sending` docstringGravatar ks1292020-06-11-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| * | | | | | | | Jam Tests: Create test for `setup` functionGravatar ks1292020-06-11-1/+11
| | | | | | | | |
| * | | | | | | | Jam Tests: Create test for successful `ctx.send` callingGravatar ks1292020-06-11-0/+6
| | | | | | | | |
| * | | | | | | | Jam Tests: Create test for team jam roles addingGravatar ks1292020-06-11-0/+14
| | | | | | | | |
| * | | | | | | | Jam Tests: Create test for team voice channel creatingGravatar ks1292020-06-11-0/+12
| | | | | | | | |
| * | | | | | | | Jam Tests: Make text channel creation test more specificGravatar ks1292020-06-11-1/+8
| | | | | | | | |
| * | | | | | | | Jam Tests: Created test for channel overwritesGravatar ks1292020-06-11-0/+24
| | | | | | | | |
| * | | | | | | | Jam Tests: Created test for creating text channel for teamGravatar ks1292020-06-11-0/+5
| | | | | | | | |