feat: add guild_count property (#1743) #1748
precommit.yml
on: push
runner / Pre-commit actions
30s
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 242 != 242
+ where 242 = <Player(Thread-4, stopped daemon 140270859454144)>._sent_payloads
+ where <Player(Thread-4, stopped daemon 140270859454144)> = <ActiveVoiceState: channel=GuildVoice(id=1324570762731847773, name='_test_voice_two-dea3c79', 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
|