test: fix test_broadcast(): Broadcast channels are never unpromoted

This commit is contained in:
Hocuri
2025-09-09 20:01:03 +02:00
parent 3a8a6f6949
commit dd11364bef

View File

@@ -882,7 +882,7 @@ def test_broadcast(acfactory):
alice_chat = alice.create_broadcast("My great channel")
snapshot = alice_chat.get_basic_snapshot()
assert snapshot.name == "My great channel"
assert snapshot.is_unpromoted
assert not snapshot.is_unpromoted # Broadcast channels are never unpromoted
assert snapshot.is_encrypted
assert snapshot.chat_type == ChatType.OUT_BROADCAST