aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Senjan21 <[email protected]>2020-10-03 13:49:16 +0200
committerGravatar Senjan21 <[email protected]>2020-10-03 13:49:16 +0200
commit764f35fa9c54d651625aad813e2e32a0a6e6d2d6 (patch)
treeb0ea600e601cf70044bd5f10edd730d86a4779d7 /tests
parentAdd missing blank line to satisfy the linting gods (diff)
add missing test for `user` command
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/exts/info/test_information.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/bot/exts/info/test_information.py b/tests/bot/exts/info/test_information.py
index 23eeb88cd..4e391eb57 100644
--- a/tests/bot/exts/info/test_information.py
+++ b/tests/bot/exts/info/test_information.py
@@ -393,6 +393,11 @@ class UserEmbedTests(unittest.TestCase):
embed.fields[1].value
)
+ self.assertEqual(
+ "basic infractions info",
+ embed.fields[2].value
+ )
+
@unittest.mock.patch(
f"{COG_PATH}.basic_user_infraction_counts",
new=unittest.mock.AsyncMock(return_value=("Infractions", "basic infractions"))