File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
synapseclient/models/protocols
tests/integration/synapseclient/models/async Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -163,7 +163,6 @@ def open_invitations(
163163 def get_user_membership_status (
164164 self ,
165165 user_id : str ,
166- team : Union [int , str ],
167166 * ,
168167 synapse_client : Optional [Synapse ] = None ,
169168 ) -> "TeamMembershipStatus" :
@@ -173,7 +172,6 @@ def get_user_membership_status(
173172
174173 Arguments:
175174 user_id: The ID of the user whose membership status is being queried.
176- team: Synapse team ID
177175 synapse_client: If not passed in and caching was not disabled by
178176 `Synapse.allow_client_caching(False)` this will use the last created
179177 instance from the Synapse class constructor.
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ async def test_get_user_membership_status(self) -> None:
152152 try :
153153 # AND I get the membership status for the creator (who should be a member)
154154 creator_status = await test_team .get_user_membership_status_async (
155- user_id = self .syn .getUserProfile ().ownerId , team = test_team . id
155+ user_id = self .syn .getUserProfile ().ownerId
156156 )
157157
158158 # THEN the creator should have membership status indicating they are a member
@@ -168,8 +168,7 @@ async def test_get_user_membership_status(self) -> None:
168168
169169 # Check the invited user's status
170170 invited_status = await test_team .get_user_membership_status_async (
171- user_id = self .syn .getUserProfile (self .TEST_USER ).ownerId ,
172- team = test_team .id ,
171+ user_id = self .syn .getUserProfile (self .TEST_USER ).ownerId
173172 )
174173
175174 # THEN the invited user should show they have an open invitation
You can’t perform that action at this time.
0 commit comments