aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_helpers.py (unfollow)
Commit message (Expand)AuthorLines
2022-09-10Check for commands being None in try_get_tag and try_silenceGravatar wookie184-1/+9
2022-08-19Duration for DM changed to Edited flagGravatar ionite34-10/+7
2022-08-18fix: don't include replied mentions in mention filter (#2017)Gravatar arl-12/+124
2022-08-18Check if channel.guild is NoneGravatar Dorukyum-1/+1
2022-08-18Made DM duration remaining optional with resendGravatar ionite34-6/+8
2022-08-17fix: replace datetime.utcnow() with arrowGravatar dawnofmidnight-4/+4
2022-08-16Added article to automute messageGravatar ionite34-1/+1
2022-08-16Removed unused datetime importGravatar ionite34-1/+0
2022-08-16Updated infractions display for updatesGravatar ionite34-23/+59
2022-08-16Corrected test use of utcnowGravatar ionite34-1/+1
2022-08-16Updated previous tests to use subset methodGravatar ionite34-7/+5
2022-08-16Refactored test to not use datetime patchGravatar ionite34-8/+11
2022-08-16Removed `inserted_at` fallbackGravatar ionite34-13/+5
2022-08-16Changed datetime.now to arrow.utcnowGravatar ionite34-2/+2
2022-08-16Infraction duration fallback if no `last_applied` fieldGravatar ionite34-2/+13
2022-08-16Added microsecond rounding for `humanize_delta`Gravatar ionite34-1/+16
2022-08-16Added new expiry usage to applyGravatar ionite34-1/+1
2022-08-16Use `last_applied` to display durationGravatar ionite34-1/+2
2022-08-16Correct last_applied formattingGravatar ionite34-1/+1
2022-08-16Fixed testsGravatar ionite34-6/+7
2022-08-16Updated ban command docstringGravatar ionite34-2/+4
2022-08-16Updated parameter namesGravatar ionite34-5/+5
2022-08-16Added isoformat for test payloadGravatar ionite34-1/+1
2022-08-16Fixed test patchesGravatar ionite34-15/+17
2022-08-16Updated testsGravatar ionite34-17/+23
2022-08-16Ran isort on importsGravatar ionite34-2/+2
2022-08-16Refactoring for DurationOrExpiryGravatar ionite34-25/+33
2022-08-16Added `DurationOrExpiry` type unionGravatar ionite34-0/+1
2022-08-16Added newlines and non-mentioned mod roleGravatar ionite34-4/+5
2022-08-15Correctly initialise redis testsGravatar Chris Lovering-42/+37
2022-08-15fix: change use of arrow to datetime and change docstring wordingGravatar dawnofmidnight-5/+5
2022-08-15Added mod alerted notice to auto-infractionsGravatar ionite34-1/+4
2022-08-15feat: command for banning compromised accountsGravatar dawnofmidnight-0/+7
2022-08-15Fix incident tests.Gravatar Izan-13/+25
2022-08-14Globally decode binary responses from redis to stringsGravatar Chris Lovering-0/+1
2022-08-14revert bump to markdownify versionGravatar Chris Lovering-10/+14
2022-08-14Use RedisTestCase helper class for both Incidents and Silence test cases.Gravatar Chris Lovering-36/+6
2022-08-14Add a new test helper for managing redis sessionsGravatar Chris Lovering-0/+24
2022-08-14Bump bot-core to full 8.0.0 releaseGravatar Chris Lovering-8/+7
2022-08-14Remove unneeded N802 noqasGravatar Chris Lovering-5/+5
2022-08-14Directly return the RedisSession on connectionGravatar Chris Lovering-2/+1
2022-08-14noqa false-positive B023 instancesGravatar Chris Lovering-4/+4
2022-08-14Stop creating futures in tests with no event loop runningGravatar Chris Lovering-6/+0
2022-08-14Add back a lock to DocRedisCache.set based on the DocItemGravatar Chris Lovering-0/+8
2022-08-14Update any calls to Redis 'iscan' to the new name 'scan_iter'Gravatar Chris Lovering-2/+2
2022-08-14Convert key expiries to integers before passing to RedisGravatar Chris Lovering-1/+1
2022-08-14Remove usages of the removed namespace_lock decoratorGravatar Chris Lovering-6/+1
2022-08-14No longer use the removed RedisSession connection objectGravatar Chris Lovering-51/+46
2022-08-14redis-py breaking changesGravatar Chris Lovering-5/+6
2022-08-14Bump all deps to latestGravatar Chris Lovering-85/+62