aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Amrou Bellalouna <[email protected]>2022-09-20 08:36:29 +0100
committerGravatar Amrou Bellalouna <[email protected]>2022-09-20 08:36:29 +0100
commitedc9c4089d2f7f7cb70b813b3cfdcf52ab834714 (patch)
treea1d8faa6c1ae88c290405447292be1348177eef0 /tests
parentuse subTest to isolate assertions (diff)
move DEFAULT_RULES_DESCRIPTION under information.py
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/exts/info/test_information.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/bot/exts/info/test_information.py b/tests/bot/exts/info/test_information.py
index 157c7141b..9f5143c01 100644
--- a/tests/bot/exts/info/test_information.py
+++ b/tests/bot/exts/info/test_information.py
@@ -7,7 +7,6 @@ from textwrap import shorten
import discord
from bot import constants
-from bot.constants import DEFAULT_RULES_DESCRIPTION
from bot.exts.info import information
from bot.utils.checks import InWhitelistCheckFailure
from tests import helpers
@@ -646,5 +645,5 @@ class RuleCommandTests(unittest.IsolatedAsyncioTestCase):
with self.subTest(identifier=raw_user_input):
final_rule_numbers = await self.cog.rules(self.cog, self.ctx, *raw_user_input)
embed = self.ctx.send.call_args.kwargs['embed']
- self.assertEqual(DEFAULT_RULES_DESCRIPTION, embed.description)
+ self.assertEqual(information.DEFAULT_RULES_DESCRIPTION, embed.description)
self.assertEqual(expected_matched_rule_numbers, final_rule_numbers)