FAILED tests/bot/cogs/test_rol.py::test_linkchannel_ko - AssertionError: 'This command is not implemented yet.' != 'This command is not implemented yet.'
The part of code that I'm testing is as simple as this:
@commands.command()
async def linkchannel(self, ctx: commands.Context, name=''):
"""
Links current channel to Campaign.
This campaign can be passed as `name` or selected by reacting to the embed message.
Parameters
----------
name: Optional
Name of the campaign.
E.g. ..linkchannel "My Campaign"
"""
await ctx.send('This command is not implemented yet.')
So i tried recreating this issue and it looks like this code is working. Maybe there is a typo or zero width unicode character. At least i can confirm that the code should work. Sorry i couldn't be more helpful ://
Summary
So I have this very simple block of code:
And yet somehow I got this error message:
The part of code that I'm testing is as simple as this:
I genuinely do not understand.