diff options
author | 2022-09-19 12:43:45 +0100 | |
---|---|---|
committer | 2022-09-19 12:43:45 +0100 | |
commit | 3adbbdd965818810a1fc1991329669a00660ef85 (patch) | |
tree | 32ec92a60ec1797b52c4cbe396c2d54595da40b5 | |
parent | Merge branch 'main' into update-autoreview-system (diff) |
Rename test function and re-add change removed in merge.
-rw-r--r-- | tests/bot/exts/backend/test_error_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bot/exts/backend/test_error_handler.py b/tests/bot/exts/backend/test_error_handler.py index 6b38c43fc..b593f1896 100644 --- a/tests/bot/exts/backend/test_error_handler.py +++ b/tests/bot/exts/backend/test_error_handler.py @@ -163,8 +163,8 @@ class ErrorHandlerTests(unittest.IsolatedAsyncioTestCase): self.assertIsNone(await self.cog.on_command_error(self.ctx, case["error"])) case["mock_function_to_call"].assert_awaited_once_with(self.ctx, case["error"].original) - async def test_error_handler_two_other_errors(self): - """Should call `handle_unexpected_error` if error is `MaxConcurrencyReached` or `ExtensionError`.""" + async def test_error_handler_unexpected_errors(self): + """Should call `handle_unexpected_error` if error is `ExtensionError`.""" self.cog.handle_unexpected_error = AsyncMock() errs = ( errors.ExtensionError(name="foo"), |