diff options
author | 2020-10-03 13:49:16 +0200 | |
---|---|---|
committer | 2020-10-03 13:49:16 +0200 | |
commit | 764f35fa9c54d651625aad813e2e32a0a6e6d2d6 (patch) | |
tree | b0ea600e601cf70044bd5f10edd730d86a4779d7 /tests | |
parent | Add 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.py | 5 |
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")) |