LeCuay

Results 3 issues of LeCuay

# Summary So I have this very simple block of code: ```python @pytest.mark.asyncio async def test_linkchannel_ko(bot): await dpytest.message(content=f'{bot.command_prefix}linkchannel') msg = dpytest.verify().message() expected_content = 'This command is not implemented yet.' assert...

When testing (for example) if an embed matches what it's expected the error it's nested and doesn't give clear information about what went wrong. For example I have this test:...

So I was having an error: ```python def dict_from_user(user: discord.User) -> _types.JsonDict: out = { > 'id': user.id, 'username': user.name, 'discriminator': user.discriminator, 'avatar': user.avatar } E AttributeError: 'NoneType' object has...