Exemplo n.º 1
0
    def invite(self):
        if self.course.clickmeeting_room_url is not None:
            invite_to_clickmeeting.delay(
                room_url=self.course.clickmeeting_room_url,
                email=self.user.email,
            )

        if self.course.zoomus_webinar_id is not None and len(self.course.zoomus_webinar_id):
            invite_to_zoomus.delay(
                webinar_id=self.course.zoomus_webinar_id,
                user_id=self.user.id,
            )
Exemplo n.º 2
0
 def invite_to_clickmeeting(self):
     if self.course.clickmeeting_room_url is not None:
         invite_to_clickmeeting.delay(
             room_url=self.course.clickmeeting_room_url,
             email=self.user.email,
         )
Exemplo n.º 3
0
def test(invite):
    invite_to_clickmeeting.delay('https://a.test', '*****@*****.**')

    invite.assert_called_once_with('https://a.test', '*****@*****.**')