def setUp(self): self.participant_label = LABEL_REAL room_name = settings.ROOM_WITH_LABELS_NAME self.room_name = room_name self.tab_unique_id = '12123123' self.path = channel_utils.room_participant_path( room_name, self.participant_label, self.tab_unique_id) self.admin_path = channel_utils.room_admin_path(room_name) self.participant_client = ConnectingWSClient(self.path) self.admin_client = ConnectingWSClient(self.admin_path)
def socket_url(self): return channel_utils.room_admin_path(self.room.name)