mirror of
https://github.com/status-im/PyGithub.git
synced 2026-09-01 19:31:10 +00:00
Fix testEditOrganizationTeamAndMembers (Use _identity to fix has_in_, add_to_, remove_from_)
This commit is contained in:
@@ -268,6 +268,11 @@ class NamedUser( object ):
|
||||
for element in data
|
||||
]
|
||||
|
||||
# @todo Remove '_identity' from the normalized json description
|
||||
@property
|
||||
def _identity( self ):
|
||||
return str( self.login )
|
||||
|
||||
def __initAttributes( self ):
|
||||
self.__avatar_url = None
|
||||
self.__bio = None
|
||||
|
||||
Reference in New Issue
Block a user