index
:
bot
fix-eval-message-limit
fix/modpings
inject-settings-in-bot-core
jb3/3.14-upgrade
main
mbaruh/fix-modpings-schedule
mbaruh/modlog_fix
pastebin-auto-upload
wookie/lower-warning-to-info
wookie184/fix-mentions-reply-resolving
A mirrored copy of the python-discord/bot repository.
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
tests
(
follow
)
Commit message (
Expand
)
Author
Age
Lines
*
Merge branch 'master' into bug/filters/bot-58/removers-ignore-dms
Dennis Pham
2020-06-19
-1
/
+3
|
\
|
*
Merge branch 'master' into help_channel_rediscache
Kieran Siek
2020-06-16
-167
/
+361
|
|
\
|
*
\
Merge branch 'master' into help_channel_rediscache
Leon Sandøy
2020-06-06
-9
/
+8
|
|
\
\
|
*
|
|
Add support for bool values in RedisCache
Leon Sandøy
2020-05-31
-1
/
+3
*
|
|
|
Token remover: exit early if message already deleted
MarkKoz
2020-06-15
-1
/
+14
*
|
|
|
Token remover: move bot check to on_message
MarkKoz
2020-06-15
-16
/
+7
*
|
|
|
Token remover: ignore DMs
MarkKoz
2020-06-15
-0
/
+10
|
|
_
|
/
|
/
|
|
*
|
|
Merge pull request #937 from python-discord/bug/filters/928/non-ascii-token
Mark
2020-06-12
-102
/
+285
|
\
\
\
|
*
\
\
Merge remote-tracking branch 'origin/master' into bug/filters/928/non-ascii-t...
MarkKoz
2020-06-02
-40
/
+645
|
|
\
\
\
|
*
|
|
|
Token remover: remove the `delete_message` function
MarkKoz
2020-06-02
-12
/
+7
|
*
|
|
|
Test find_token_in_message returns None for invalid matches
MarkKoz
2020-05-28
-0
/
+15
|
*
|
|
|
Adjust find_token_in_message tests for the recent cog changes
MarkKoz
2020-05-28
-19
/
+20
|
*
|
|
|
Remove is_maybe_token tests
MarkKoz
2020-05-28
-33
/
+0
|
*
|
|
|
Add more thorough and realistic inputs for token ID and timestamp tests
MarkKoz
2020-05-27
-18
/
+52
|
*
|
|
|
Adjust token remover tests to use the Token NamedTuple
MarkKoz
2020-05-27
-6
/
+8
|
*
|
|
|
Switch findall to finditer in assertions
MarkKoz
2020-05-27
-4
/
+4
|
*
|
|
|
Use real token values for testing multiple matches in regex
MarkKoz
2020-05-25
-3
/
+4
|
*
|
|
|
Fix multiple match text for token regex
MarkKoz
2020-05-25
-2
/
+3
|
*
|
|
|
Fix valid token regex test
MarkKoz
2020-05-25
-2
/
+2
|
*
|
|
|
Add more valid tokens to test the regex with
MarkKoz
2020-05-25
-3
/
+5
|
*
|
|
|
Test token regex won't match non-base64 characters
MarkKoz
2020-05-25
-4
/
+3
|
*
|
|
|
Fix a test needlessly being a coroutine
MarkKoz
2020-05-13
-1
/
+1
|
*
|
|
|
Use subtests for valid ID/timestamp tests and test non-ASCII inputs
MarkKoz
2020-05-11
-18
/
+25
|
*
|
|
|
Clean up token remover test imports
MarkKoz
2020-05-11
-16
/
+12
|
*
|
|
|
Replace deprecated assertion methods
MarkKoz
2020-05-11
-2
/
+2
|
*
|
|
|
Refactor `TokenRemoverSetupTests` and add a more thorough test
MarkKoz
2020-05-11
-4
/
+8
|
*
|
|
|
Test TokenRemover.take_action
MarkKoz
2020-05-11
-43
/
+30
|
*
|
|
|
Test TokenRemover.format_log_message
MarkKoz
2020-05-11
-0
/
+16
|
*
|
|
|
Test token remover's message deletion
MarkKoz
2020-05-11
-0
/
+9
|
*
|
|
|
Simplify token remover's message mock
MarkKoz
2020-05-11
-9
/
+3
|
*
|
|
|
Avoid instantiating the cog when testing static/class methods
MarkKoz
2020-05-11
-10
/
+5
|
*
|
|
|
Correct the return type annotation for the autospec decorator
MarkKoz
2020-05-11
-2
/
+2
|
*
|
|
|
Test token regex matches valid tokens
MarkKoz
2020-05-11
-0
/
+21
|
*
|
|
|
Test is_maybe_token
MarkKoz
2020-05-11
-7
/
+24
|
*
|
|
|
Test `is_maybe_token` returns False for missing parts
MarkKoz
2020-05-11
-0
/
+10
|
*
|
|
|
Fix autospec decorator when used with multiple attributes
MarkKoz
2020-05-11
-16
/
+12
|
*
|
|
|
Test token regex doesn't match invalid tokens
MarkKoz
2020-05-11
-7
/
+25
|
*
|
|
|
Test `find_token_in_message` returns the found token
MarkKoz
2020-05-11
-0
/
+24
|
*
|
|
|
Test `find_token_in_message` returns None if no matches found
MarkKoz
2020-05-11
-0
/
+14
|
*
|
|
|
Fix test for token remover ignoring bot messages
MarkKoz
2020-05-11
-4
/
+9
|
*
|
|
|
Allow using arbitrary parameter names with the autospec decorator
MarkKoz
2020-05-11
-2
/
+15
|
*
|
|
|
Test token remover skips messages without tokens
MarkKoz
2020-05-11
-0
/
+11
|
*
|
|
|
Test token remover takes action if a token is found
MarkKoz
2020-05-11
-1
/
+13
|
*
|
|
|
Add a test helper function to patch multiple attributes with autospecs
MarkKoz
2020-05-11
-0
/
+9
|
*
|
|
|
Test on_message_edit of token remover uses on_message
MarkKoz
2020-05-11
-2
/
+10
*
|
|
|
|
Merge pull request #978 from ItsDrike/unsilence-scheduler
Mark
2020-06-12
-4
/
+14
|
\
\
\
\
\
|
*
|
|
|
|
Test for channel not silenced message
ItsDrike
2020-06-06
-4
/
+14
|
|
|
_
|
/
/
|
|
/
|
|
|
*
|
|
|
|
Merge branch 'master' into bad-words-nick
ks129
2020-06-11
-60
/
+317
|
\
\
\
\
\
|
*
\
\
\
\
Merge branch 'master' into bug/backend/906/converter-year-range
Joseph Banks
2020-06-10
-47
/
+824
|
|
\
\
\
\
\
|
|
|
|
_
|
_
|
/
|
|
|
/
|
|
|
|
|
*
|
|
|
Merge branch 'master' into staff_count_server
kwzrd
2020-06-05
-5
/
+0
|
|
|
\
\
\
\
|
|
|
|
|
_
|
/
|
|
|
|
/
|
|
[next]