Fix instance tests
This commit is contained in:
parent
bebef9d38a
commit
522f89cff9
2 changed files with 13 additions and 8 deletions
|
@ -33,6 +33,10 @@ class Role(Protocol):
|
|||
def id(self) -> int:
|
||||
pass
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
pass
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class Member(Protocol):
|
||||
|
@ -53,13 +57,6 @@ class Member(Protocol):
|
|||
pass
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class Role(Protocol):
|
||||
@property
|
||||
def name(self) -> str:
|
||||
pass
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class Guild(Protocol):
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue