aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar kosayoda <[email protected]>2021-04-28 16:43:52 +0800
committerGravatar kosayoda <[email protected]>2021-04-28 16:43:52 +0800
commit9ffe5b0146354936c7c67e43bd6682195ccedfdd (patch)
treeb5f2000b7a79eef70c47b9722f935861578ec028
parentMerge branch 'main' into error-handler-test (diff)
Remove BrandingError check.
This was removed in the branding manager rewrite: https://github.com/python-discord/bot/pull/1463/
-rw-r--r--tests/bot/exts/backend/test_error_handler.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/bot/exts/backend/test_error_handler.py b/tests/bot/exts/backend/test_error_handler.py
index 9b7b66cb2..1b4729cbc 100644
--- a/tests/bot/exts/backend/test_error_handler.py
+++ b/tests/bot/exts/backend/test_error_handler.py
@@ -5,7 +5,6 @@ from discord.ext.commands import errors
from bot.api import ResponseCodeError
from bot.errors import InvalidInfractedUser, LockedResourceError
-from bot.exts.backend.branding._errors import BrandingError
from bot.exts.backend.error_handler import ErrorHandler, setup
from bot.exts.info.tags import Tags
from bot.exts.moderation.silence import Silence
@@ -131,10 +130,6 @@ class ErrorHandlerTests(unittest.IsolatedAsyncioTestCase):
"expect_mock_call": "send"
},
{
- "args": (self.ctx, errors.CommandInvokeError(BrandingError())),
- "expect_mock_call": "send"
- },
- {
"args": (self.ctx, errors.CommandInvokeError(InvalidInfractedUser(self.ctx.author))),
"expect_mock_call": "send"
}