fix: adjust app emoji code based off testing #1740
precommit.yml
on: push
runner / Pre-commit actions
26s
Annotations
2 errors and 1 warning
test_bot.test_polls:
tests/test_bot.py#L508
AssertionError: assert [{'poll_media...ext': 'Two'}}] == [{'poll_media...ext': 'Two'}}]
At index 0 diff: {'poll_media': {'text': 'One', 'emoji': {'name': '1️⃣', 'animated': False, 'available': True}}} != {'poll_media': {'text': 'One', 'emoji': {'name': '1️⃣', 'animated': False}}}
Full diff:
[
{
'poll_media': {
'emoji': {
'animated': False,
+ 'available': True,
'name': '1️⃣',
},
'text': 'One',
},
},
{
'poll_media': {
'emoji': {
'animated': False,
+ 'available': True,
'name': '2️⃣',
},
'text': 'Two',
},
},
]
|
test_bot.test_voice:
tests/test_bot.py#L578
AssertionError: assert 245 != 245
+ where 245 = <Player(Thread-4, stopped daemon 140373731051200)>._sent_payloads
+ where <Player(Thread-4, stopped daemon 140373731051200)> = <ActiveVoiceState: channel=GuildVoice(id=1324462336651825232, name='_test_voice_two-54258f6', type=<ChannelType.GUILD_VOICE: 2>) guild=Guild(id=1041449294022070292, name='NAFF Test Suite', description=None) volume=0.5 playing=False audio=<AudioVolume: tests/test_audio.mp3>>.player
|
runner / Pre-commit actions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|