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

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

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
    self._set(publics_contact_2, publics_contact_2.nick, timestamp2, 'baz')
    # Get current (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
                                          self.public_actor.nick)
    self.assertEquals(len(presences), 3)
    # Get all by timestamp (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
    self.assertEquals(len(presences), 3)
    # Get one by timestamp (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
                                          self.public_actor.nick,
                                          timestamp_between)
    self.assertEquals(len(presences), 2)
    # Get none by timestamp
    presences = api.presence_get_contacts(self.public_actor,

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
    self._set(publics_contact_2, publics_contact_2.nick, timestamp2, 'baz')
    # Get current (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
                                          self.public_actor.nick)
    self.assertEquals(len(presences), 3)
    # Get all by timestamp (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
    self.assertEquals(len(presences), 3)
    # Get one by timestamp (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
                                          self.public_actor.nick,
                                          timestamp_between)
    self.assertEquals(len(presences), 2)
    # Get none by timestamp
    presences = api.presence_get_contacts(self.public_actor,

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
    self._set(publics_contact_2, publics_contact_2.nick, timestamp2, 'baz')
    # Get current (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
                                          self.public_actor.nick)
    self.assertEquals(len(presences), 3)
    # Get all by timestamp (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
    self.assertEquals(len(presences), 3)
    # Get one by timestamp (set + autogenerated at 2008)
    presences = api.presence_get_contacts(self.public_actor,
                                          self.public_actor.nick,
                                          timestamp_between)
    self.assertEquals(len(presences), 2)
    # Get none by timestamp
    presences = api.presence_get_contacts(self.public_actor,