Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(24)  |  Call(24)  |  Derive(0)  |  Import(0)

src/c/o/CollabQ-HEAD/common/sms.py   CollabQ(Download)
 
    try:
      api.channel_join(sender_ref, sender_ref.nick, channel)
      self.send_message((sender,),
                        "%s joined %s" % (sender_ref.display_nick(), nick))

src/c/o/CollabQ-HEAD/common/im.py   CollabQ(Download)
 
    try:
      api.channel_join(jid_ref, jid_ref.nick, channel)
      self.send_message((from_jid,),
                        "%s joined %s" % (jid_ref.nick, channel))

src/j/a/JaikuEngine-HEAD/common/sms.py   JaikuEngine(Download)
 
    try:
      api.channel_join(sender_ref, sender_ref.nick, channel)
      self.send_message((sender,),
                        "%s joined %s" % (sender_ref.display_nick(), nick))

src/j/a/JaikuEngine-HEAD/common/im.py   JaikuEngine(Download)
 
    try:
      api.channel_join(jid_ref, jid_ref.nick, channel)
      self.send_message((from_jid,),
                        "%s joined %s" % (jid_ref.nick, channel))

src/j/a/jaikuenginepatch-HEAD/common/im.py   jaikuenginepatch(Download)
 
    try:
      api.channel_join(jid_ref, jid_ref.nick, channel)
      self.send_message((from_jid,),
                        "%s joined %s" % (jid_ref.nick, channel))

src/j/a/jaikuenginepatch-HEAD/common/sms.py   jaikuenginepatch(Download)
 
    try:
      api.channel_join(sender_ref, sender_ref.nick, channel)
      self.send_message((sender,),
                        "%s joined %s" % (sender_ref.display_nick(), nick))

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
    def _join_channel_again():
      api.channel_join(api.ROOT, self.popular_nick, self.test_channel_nick)
 
    self.failUnlessRaises(exception.ApiException, _join_channel_again)
 
  def test_channel_join_and_get_members(self):
    api.channel_join(api.ROOT, self.celebrity_nick, self.test_channel_nick)
    api.channel_join(api.ROOT, self.unpopular_nick, self.test_channel_nick)
  def test_channel_get_members_offset(self):
    api.channel_join(api.ROOT, self.celebrity_nick, self.test_channel_nick)
    api.channel_join(api.ROOT, self.unpopular_nick, self.test_channel_nick)
    expected_members = [self.popular_nick, self.unpopular_nick]
    self.assertEquals(expected_members,

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
    def _join_channel_again():
      api.channel_join(api.ROOT, self.popular_nick, self.test_channel_nick)
 
    self.failUnlessRaises(exception.ApiException, _join_channel_again)
 
  def test_channel_join_and_get_members(self):
    api.channel_join(api.ROOT, self.celebrity_nick, self.test_channel_nick)
    api.channel_join(api.ROOT, self.unpopular_nick, self.test_channel_nick)
  def test_channel_get_members_offset(self):
    api.channel_join(api.ROOT, self.celebrity_nick, self.test_channel_nick)
    api.channel_join(api.ROOT, self.unpopular_nick, self.test_channel_nick)
    expected_members = [self.popular_nick, self.unpopular_nick]
    self.assertEquals(expected_members,

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
  def test_channel_join_increment_count(self):
    hermit_ref = api.actor_get(api.ROOT, self.hermit_nick)
    self.assertEquals(0, hermit_ref.extra.get('channel_count', 0))
    api.channel_join(api.ROOT, self.hermit_nick, self.test_channel_nick)
    channel_ref = api.channel_get(api.ROOT, self.test_channel_nick)
  def test_channel_part_decrement_count(self):
    api.channel_join(api.ROOT, self.hermit_nick, self.test_channel_nick)
    api.channel_part(api.ROOT, self.hermit_nick, self.test_channel_nick)
    channel_ref = api.channel_get(api.ROOT, self.test_channel_nick)
    self.assertEquals(1, channel_ref.extra['member_count'])