aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2021-06-12Add Optional typehint to parameterGravatar Numerlor-4/+4
The indentation was also dedented one level and a trailing comma added to be consistent over the project Co-authored-by: ToxicKidz <[email protected]>
2021-06-12Add an optional loop kwarg to scheduling.create_taskGravatar Numerlor-3/+15
Before this change, the create_task util couldn't be used to schedule tasks from the init of cogs, as it relied on asyncio.create_task that uses the currently running loop to create the task. The loop kwarg allows the caller to pass the loop itself if there's no running loop yet.
2021-06-11Add black-formatter to reminders overridesGravatar Richard Si-0/+6
Adds the black-formatter channel to the remind command overrides to allow usage of the command in the channel. This isn't the cleanest patch, ideally the whole OSS category would be whitelisted but the filter currently doesn't support categories. Co-authored-by: Hassan Abouelela <[email protected]>
2021-06-10Tests: update infraction DM to mention UTCGravatar Matteo Bertucci-2/+2
2021-06-10Infraction: DM mention that the expiration is in UTC timeGravatar Matteo Bertucci-1/+1
We have a few users DMing ModMail to ask why they haven't been unmuted and their mute should have expired. Most of the time it is simply that they forgot to convert their local time to UTC time. This can hopefully avoid some of those instances.
2021-06-06Renamed blocked_extension_str to blocked_extension.Gravatar Xithrius-3/+3
2021-06-06Added new formats to unittest docstrings.Gravatar Xithrius-2/+2
2021-06-06Change to unless-stopped restart policyGravatar Chris-1/+1
Since we use the same port for redis on all out projects, having this always restart causes conflicts for people starting up docker and wanting to use redis for anyother project.
2021-06-06Added subtests for `.txt`, `.json`, and `.csv` files.Gravatar Xithrius-16/+28
2021-06-06Added .txt file extension to antimalware test.Gravatar Xithrius-1/+4
2021-06-05Allowed text format warning to have multiple formats.Gravatar Xithrius-3/+8