diff options
author | 2020-04-30 18:35:03 -0700 | |
---|---|---|
committer | 2020-04-30 18:35:03 -0700 | |
commit | b43379d663a86680f762d20a7bd27a20927d4bfc (patch) | |
tree | 597d3779bc1395f6fd8792b60189c7794d1bfdf2 | |
parent | Display animated avatars in the user info command (diff) |
Tests: change avatar_url_as assertion to use static_format
-rw-r--r-- | tests/bot/cogs/test_information.py | 2 |
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") |