Commit message (Collapse) | Author | Age | Lines | ||
---|---|---|---|---|---|
... | |||||
* | | | | | | Update botcore module name | 2022-11-26 | -7/+7 | ||
|/ / / / / | |||||
* | | | | | Merge branch 'main' into 2306-nominations-cleanup | 2022-11-05 | -13/+13 | ||
|\ \ \ \ \ | |||||
| * | | | | | Reverse changes to invalid arg break | 2022-10-25 | -3/+4 | ||
| | | | | | | |||||
| * | | | | | Update tests to work with rules arg fix | 2022-10-25 | -4/+3 | ||
| | | | | | | |||||
| * | | | | | Update tests for new single string format | 2022-10-25 | -12/+12 | ||
| | | | | | | |||||
| * | | | | | Added new star expression fix | 2022-10-25 | -3/+3 | ||
| | | | | | | |||||
| * | | | | | Made arg fix compatible with tests | 2022-10-25 | -3/+3 | ||
| | |_|_|/ | |/| | | | |||||
| * | | | | Move Security cog to backend extension | 2022-10-22 | -1/+1 | ||
| |/ / / | |||||
* / / / | Fix tests | 2022-10-22 | -19/+22 | ||
|/ / / | |||||
* | | | Merge branch 'main' into update-autoreview-system | 2022-10-19 | -4/+93 | ||
|\ \ \ | |||||
| * | | | Use explicit mock channels in tests to remove warning | 2022-10-10 | -2/+11 | ||
| | |/ | |/| | | | | | | | | | | | | | This is need due to the new behaviour of discord.utils.get supporting both iterables and async iterables by checking for the presence of the __aiter__ attr on the iterable. GuildChannelConverter._resolve_channel uses this get util under the hood which grabs the voice channels on the guild, which were previously Mocked by the MagicMock, meaning the __aiter__ attr was present, causing the util to think it should be ran asynchronously. | ||||
| * | | Merge branch 'main' into 2108-invoke-rule-command-with-keywords | 2022-09-20 | -14/+26 | ||
| |\ \ | |||||
| | * \ | Merge branch 'main' into main | 2022-09-18 | -46/+155 | ||
| | |\ \ | |||||
| | * | | | add: test for reasoned and reasonless pardons | 2022-08-17 | -1/+7 | ||
| | | | | | |||||
| * | | | | move DEFAULT_RULES_DESCRIPTION under information.py | 2022-09-20 | -2/+1 | ||
| | | | | | |||||
| * | | | | use subTest to isolate assertions | 2022-09-19 | -14/+17 | ||
| | | | | | |||||
| * | | | | add DEFAULT_RULES_DESCRIPTION to avoid duplication | 2022-09-19 | -7/+2 | ||
| | | | | | |||||
| * | | | | fix redundant test name | 2022-09-19 | -1/+1 | ||
| | | | | | |||||
| * | | | | test the cases where default rules message is supposed to be sent | 2022-09-19 | -0/+31 | ||
| | | | | | |||||
| * | | | | add test that checks for the sent content if one invalid index is present in ↵ | 2022-09-19 | -0/+46 | ||
| | | | | | | | | | | | | | | | | | | | | the input | ||||
| * | | | | fix "isistance" typo | 2022-09-16 | -1/+1 | ||
| | | | | | |||||
* | | | | | Use scoring system that weights age and number of entries | 2022-10-09 | -4/+54 | ||
| | | | | | | | | | | | | | | | | | | | | Added new tests for this behaviour, and added pytest-subtests dev dependency | ||||
* | | | | | Move tests out of moderation/ directory | 2022-10-09 | -0/+0 | ||
| | | | | | | | | | | | | | | | | | | | | I didn't mean to put them there in the first place | ||||
* | | | | | Rename test function and re-add change removed in merge. | 2022-09-19 | -2/+2 | ||
| | | | | | |||||
* | | | | | Merge branch 'main' into update-autoreview-system | 2022-09-19 | -187/+268 | ||
|\ \ \ \ \ | | |_|/ / | |/| | | | |||||
| * | | | | Merge branch 'main' into fix-not-awaited-coroutine-warning | 2022-09-18 | -174/+249 | ||
| |\ \ \ \ | |||||
| | * | | | | Removed "redis_ready" from additional_spec_asyncs in MockBot (#2275) | 2022-09-16 | -1/+1 | ||
| | |/ / / | | | | | | | | | | | The attribute was removed from Bot in fc05849 | ||||
| | * | | | Merge branch 'main' into infraction-durations | 2022-08-19 | -18/+111 | ||
| | |\ \ \ | |||||
| | | * | | | fix: don't include replied mentions in mention filter (#2017) | 2022-08-18 | -5/+75 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Izan <[email protected]> Co-authored-by: TizzySaurus <[email protected]> Co-authored-by: Xithrius <[email protected]> | ||||
| | | * | | | Merge branch 'main' into incident-archive-msg-improvements | 2022-08-18 | -42/+37 | ||
| | | |\| | | |||||
| | | * | | | Fix incident tests. | 2022-08-15 | -13/+25 | ||
| | | | | | | |||||
| | | * | | | Merge branch 'main' into incident-archive-msg-improvements | 2022-08-14 | -447/+603 | ||
| | | |\ \ \ | |||||
| | | * | | | | Address Reviews | 2022-07-14 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the more concise DATETIME timestamp instead of both a DATE and a TIME timestamp. - Remove underline from the "Reported ..." section at the bottom of the embed. - Re-add time of action/rejection timestamp to footer of embed. | ||||
| | | * | | | | Fix tests | 2022-01-01 | -6/+18 | ||
| | | | | | | | |||||
| | * | | | | | Corrected test use of utcnow | 2022-08-16 | -1/+1 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected test case to use `datetime.utcnow()` to be consistent with target | ||||
| | * | | | | | Updated previous tests to use subset method | 2022-08-16 | -7/+5 | ||
| | | | | | | | |||||
| | * | | | | | Refactored test to not use datetime patch | 2022-08-16 | -8/+11 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Used new method of dict subset comparison instead of datetime patching for better compat. with argument types | ||||
| | * | | | | | Fixed tests | 2022-08-16 | -6/+7 | ||
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Corrected datetime patching | ||||
| | * | | | | | Added isoformat for test payload | 2022-08-16 | -1/+1 | ||
| | | | | | | | |||||
| | * | | | | | Fixed test patches | 2022-08-16 | -15/+17 | ||
| | | | | | | | |||||
| | * | | | | | Updated tests | 2022-08-16 | -17/+23 | ||
| | | |_|/ / | | |/| | | | | | | | | | | | | | | | - Refactored tests for new time duration arguments | ||||
| | * | | | | Correctly initialise redis tests | 2022-08-15 | -42/+37 | ||
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Calling the cog_load from within the setUp function resulted in interaction with a RedisSession before it was initialised. This wasn't noticed in CI as it only error under certain concurrency timings due to xdist. To resolve this, we moved the setup and async setup logic to a base class. Co-authored-by: Hassan Abouelela <[email protected]> | ||||
| | * | | | Use RedisTestCase helper class for both Incidents and Silence test cases. | 2022-08-14 | -36/+6 | ||
| | | | | | |||||
| | * | | | Add a new test helper for managing redis sessions | 2022-08-14 | -0/+24 | ||
| | | | | | | | | | | | | | | | | | | | | This helper ensures that a fresh RedisSession is given to each test case that inherits from it. | ||||
| | * | | | Remove unneeded N802 noqas | 2022-08-14 | -5/+5 | ||
| | | | | | | | | | | | | | | | | | | | | pep-naming now supports these functions being in camel case. | ||||
| | * | | | Stop creating futures in tests with no event loop running | 2022-08-14 | -6/+0 | ||
| | | | | | |||||
| | * | | | No longer use the removed RedisSession connection object | 2022-08-14 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | | | This has been abstracted away, the correct way to do this now is to directly access the client. | ||||
| | * | | | Remove warnings in error handler tests | 2022-08-14 | -56/+47 | ||
| | | | | | | | | | | | | | | | | | | | | These warnings were caused by the setup coro from error_handler.py being imported directly, causing a warning about an un-awaited coro whenever the Cog was accessed from the same file. | ||||
| | * | | | Remove call to get_event_loop in tests | 2022-08-14 | -3/+2 | ||
| | | | | | | | | | | | | | | | | | | | | get_event_loop is deprecated as of 3.10 if there is no running loop. | ||||
| * | | | | Fix tests | 2022-08-04 | -12/+18 | ||
| |/ / / |