mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 23:44:29 +00:00
8 lines
206 B
Python
8 lines
206 B
Python
import discord
|
|
|
|
from functools import reduce
|
|
from operator import or_
|
|
|
|
def test_permissions_all():
|
|
assert discord.Permissions.all().value == reduce(or_, discord.Permissions.VALID_FLAGS.values())
|