diff options
author | 2019-10-05 17:20:19 +1000 | |
---|---|---|
committer | 2019-10-05 17:20:19 +1000 | |
commit | f1522adf11d204c9aaf372f13407541d4f5a0e44 (patch) | |
tree | 1fbe66b7d07aa991eaa7ed59bb14da6260d915e3 /tests/cogs | |
parent | revert back `tests.cogs.test_information` (diff) |
revert back `tests.cogs.test_information`. I got them in the wrong order...
Diffstat (limited to 'tests/cogs')
-rw-r--r-- | tests/cogs/test_information.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cogs/test_information.py b/tests/cogs/test_information.py index 3f365c901..184bd2595 100644 --- a/tests/cogs/test_information.py +++ b/tests/cogs/test_information.py @@ -48,7 +48,7 @@ def ctx(moderator_role, simple_ctx): def test_roles_info_command(cog, ctx): - everyone_role = MagicMock(spec=Role) + everyone_role = MagicMock() everyone_role.name = '@everyone' # should be excluded in the output ctx.author.roles.append(everyone_role) ctx.guild.roles = ctx.author.roles @@ -69,7 +69,7 @@ def test_roles_info_command(cog, ctx): def test_role_info_command(cog, ctx): - dummy_role = MagicMock() + dummy_role = MagicMock(spec=Role) dummy_role.name = "Dummy" dummy_role.colour = Colour.blurple() dummy_role.id = 112233445566778899 |