示例#1
0
 def make_note(self, body):
     return ChannelNote(user=self.channel_owner, body=body)
示例#2
0
 def add_note_to_channel(self):
     start_count = self.get_note_count()
     note = ChannelNote(self.user, 'test')
     self.channel.notes.add(note)
     self.check_note_count(start_count + 1)
     return note