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.now = utcnow() presence = api.presence_set( actor, nick = nick, senders_timestamp = timestamp, status = status) self.assertTrue(presence) if timestamp:
self.assertEqual(got_presence.updated_at, timestamp) self.assertEqual(got_presence, presence) api.presence_set(self.public_actor, self.public_actor.nick, location = 'loc1') # test previous fields are kept unless overridden
self.failIf(entry_ref.extra['location'], 'did not expect non-empty location in %s' % (entry_ref.extra)) api.presence_set(popular_ref, nick=popular_ref.nick, location='mtv') entry_ref = api.post(popular_ref, nick=popular_ref.nick, message='testing 123') self.assertEqual(entry_ref.extra['location'], 'mtv') api.presence_set(popular_ref, nick=popular_ref.nick, location='sfo')
src/c/o/CollabQ-HEAD/common/test/api.py CollabQ(Download)
self.now = utcnow() presence = api.presence_set( actor, nick = nick, senders_timestamp = timestamp, status = status) self.assertTrue(presence) if timestamp:
self.assertEqual(got_presence.updated_at, timestamp) self.assertEqual(got_presence, presence) api.presence_set(self.public_actor, self.public_actor.nick, location = 'loc1') # test previous fields are kept unless overridden
self.failIf(entry_ref.extra['location'], 'did not expect non-empty location in %s' % (entry_ref.extra)) api.presence_set(popular_ref, nick=popular_ref.nick, location='mtv') entry_ref = api.post(popular_ref, nick=popular_ref.nick, message='testing 123') self.assertEqual(entry_ref.extra['location'], 'mtv') api.presence_set(popular_ref, nick=popular_ref.nick, location='sfo')
src/j/a/jaikuenginepatch-HEAD/common/test/api.py jaikuenginepatch(Download)
self.now = utcnow() presence = api.presence_set( actor, nick = nick, senders_timestamp = timestamp, status = status) self.assertTrue(presence) if timestamp:
self.assertEqual(got_presence.updated_at, timestamp) self.assertEqual(got_presence, presence) api.presence_set(self.public_actor, self.public_actor.nick, location = 'loc1') # test previous fields are kept unless overridden
self.failIf(entry_ref.extra['location'], 'did not expect non-empty location in %s' % (entry_ref.extra)) api.presence_set(popular_ref, nick=popular_ref.nick, location='mtv') entry_ref = api.post(popular_ref, nick=popular_ref.nick, message='testing 123') self.assertEqual(entry_ref.extra['location'], 'mtv') api.presence_set(popular_ref, nick=popular_ref.nick, location='sfo')