committed by
GitHub
2 changed files with 8 additions and 1 deletions
@ -0,0 +1,7 @@ |
|||
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()) |
Loading…
Reference in new issue