mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-09-21 03:27:42 +00:00
8 lines
199 B
Python
8 lines
199 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())
|