diff options
author | 2020-05-19 00:44:10 -0400 | |
---|---|---|
committer | 2020-05-19 00:44:10 -0400 | |
commit | 9c7627abf9a005ab8f097b2a57e732375a1903eb (patch) | |
tree | f68a542372a90bd336c5fe9ce0fbdd9bfefeda75 /tests | |
parent | Add Steam gift card scam to domain blacklist (diff) | |
parent | Merge branch 'master' into eval-timeout-increase (diff) |
Merge pull request #944 from Numerlor/eval-timeout-increase
Increase snekbox re eval timeout to 30 seconds
Diffstat (limited to 'tests')
-rw-r--r-- | tests/bot/cogs/test_snekbox.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_snekbox.py b/tests/bot/cogs/test_snekbox.py index 8490b02ca..14299e766 100644 --- a/tests/bot/cogs/test_snekbox.py +++ b/tests/bot/cogs/test_snekbox.py @@ -290,7 +290,11 @@ class SnekboxTests(unittest.IsolatedAsyncioTestCase): self.assertEqual(actual, expected) self.bot.wait_for.assert_has_awaits( ( - call('message_edit', check=partial_mock(snekbox.predicate_eval_message_edit, ctx), timeout=10), + call( + 'message_edit', + check=partial_mock(snekbox.predicate_eval_message_edit, ctx), + timeout=snekbox.REEVAL_TIMEOUT, + ), call('reaction_add', check=partial_mock(snekbox.predicate_eval_emoji_reaction, ctx), timeout=10) ) ) |