aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-05-25 20:47:32 -0700
committerGravatar MarkKoz <[email protected]>2020-05-25 20:47:32 -0700
commit47886501fb7d030f1cb91c69413058e3ffcb76bf (patch)
tree0aa0fa9e334620ef3713dcf34742531acb266546 /tests
parentToken remover: specify Discord epoch in seconds (diff)
Test token regex won't match non-base64 characters
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_token_remover.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/bot/cogs/test_token_remover.py b/tests/bot/cogs/test_token_remover.py
index 8e743a715..dbea5ad1b 100644
--- a/tests/bot/cogs/test_token_remover.py
+++ b/tests/bot/cogs/test_token_remover.py
@@ -144,10 +144,9 @@ class TokenRemoverTests(unittest.IsolatedAsyncioTestCase):
"x..z",
" . . ",
"\n.\n.\n",
- "'.'.'",
- '"."."',
- "(.(.(",
- ").).)"
+ "hellö.world.bye",
+ "base64.nötbåse64.morebase64",
+ "19jd3J.dfkm3d.€víł§tüff",
)
for token in tokens: