aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2022-08-01Infraction duration fallback if no `last_applied` fieldGravatar ionite34-2/+13
2022-08-01Added microsecond rounding for `humanize_delta`Gravatar ionite34-1/+16
2022-07-31Added new expiry usage to applyGravatar ionite34-1/+1
- Added new usage of `last_applied` time for duration calculation in `apply_infraction`
2022-07-28Use `last_applied` to display durationGravatar ionite34-1/+2
2022-07-28Correct last_applied formattingGravatar ionite34-1/+1
2022-07-28Fixed testsGravatar ionite34-6/+7
- Corrected datetime patching
2022-07-28Updated ban command docstringGravatar ionite34-2/+4
- Updated docstring to be more explicit on parameter fields
2022-07-28Updated parameter namesGravatar ionite34-5/+5
- Changed `duration` parameter names to `duration_or_expiry` to more accurately reflect options for help
2022-07-28Added isoformat for test payloadGravatar ionite34-1/+1
2022-07-28Fixed test patchesGravatar ionite34-15/+17
2022-07-28Updated testsGravatar ionite34-17/+23
- Refactored tests for new time duration arguments
2022-07-28Ran isort on importsGravatar ionite34-2/+2
2022-07-28Refactoring for DurationOrExpiryGravatar ionite34-25/+33
2022-07-28Added `DurationOrExpiry` type unionGravatar ionite34-0/+1
2022-07-23Update `!modpings off` confirmation to use a discord timestamp.Gravatar Izan-8/+9
2022-07-21Start 3.11 snekbox container by defaultGravatar Chris Lovering-2/+2
Since snekbox uses 3.11 by default, it makes sense for this one to be started by default, and the 3.10 container to be opt-in.
2022-07-21Update snekbox tests to expect new outputGravatar Chris Lovering-11/+13
2022-07-21Include what version of Python was used in snekbox output.Gravatar Chris Lovering-6/+6
2022-07-21Use the view clear on timeout feature from bot-core in snekboxGravatar Chris Lovering-9/+7
This will mean the buttons will be cleared from the response on interaction timeout.
2022-07-17fix(tags/print-return): use the raw GitHub URL for the GIFGravatar Siddhesh Mhadnak-1/+1
As mentioned in the previous commit, using the raw GitHub URL would be more reliable than a Discord CDN URL.