aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-05-01 20:43:08 +0100
committerGravatar GitHub <[email protected]>2020-05-01 20:43:08 +0100
commit8cb6fe392a17d7f682af60b30a23cb143a27e87c (patch)
tree597d3779bc1395f6fd8792b60189c7794d1bfdf2 /tests
parentRun a category check before logging that we are checking for an answered help... (diff)
parentTests: change avatar_url_as assertion to use static_format (diff)
Merge pull request #922 from python-discord/bug/info/914/user-animated-avatar
Display animated avatars in the user info command
Diffstat (limited to 'tests')
-rw-r--r--tests/bot/cogs/test_information.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bot/cogs/test_information.py b/tests/bot/cogs/test_information.py
index 6dace1080..b5f928dd6 100644
--- a/tests/bot/cogs/test_information.py
+++ b/tests/bot/cogs/test_information.py
@@ -485,7 +485,7 @@ class UserEmbedTests(unittest.TestCase):
user.avatar_url_as.return_value = "avatar url"
embed = asyncio.run(self.cog.create_user_embed(ctx, user))
- user.avatar_url_as.assert_called_once_with(format="png")
+ user.avatar_url_as.assert_called_once_with(static_format="png")
self.assertEqual(embed.thumbnail.url, "avatar url")