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

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

src/c/o/CollabQ-HEAD/actor/views.py   CollabQ(Download)
  offset, prev = util.page_offset(request)
 
  inbox = api.inbox_get_actor_overview(request.user,
                                       view.nick,
                                       limit=(per_page + 1),

src/j/a/JaikuEngine-HEAD/actor/views.py   JaikuEngine(Download)
  offset, prev = util.page_offset(request)
 
  inbox = api.inbox_get_actor_overview(request.user,  
                                       view.nick,
                                       limit=(per_page + 1), 

src/j/a/jaikuenginepatch-HEAD/actor/views.py   jaikuenginepatch(Download)
  offset, prev = util.page_offset(request)
 
  inbox = api.inbox_get_actor_overview(request.user,  
                                       view.nick,
                                       limit=(per_page + 1), 

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
    for sub in public_subscribers:
      sub_ref = api.actor_get(api.ROOT, sub.subscriber)
      overview_inbox = api.inbox_get_actor_overview(sub_ref, sub_ref.nick)
      self.assertEqual(overview_inbox[0], entry_key)
 
    for sub in private_subscribers:
      sub_ref = api.actor_get(api.ROOT, sub.subscriber)
      overview_inbox = api.inbox_get_actor_overview(sub_ref, sub_ref.nick)
      if sub.state == 'pending':
        self.assertNotEqual(overview_inbox[0], entry_key)
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertNotEqual(unpopular_inbox[0], comment_first_ref.keyname())
 
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertEqual(unpopular_inbox[0], comment_second_ref.keyname())
 
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertEqual(unpopular_inbox[0], comment_third_ref.keyname())
    # Should see them via the post

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
    for sub in public_subscribers:
      sub_ref = api.actor_get(api.ROOT, sub.subscriber)
      overview_inbox = api.inbox_get_actor_overview(sub_ref, sub_ref.nick)
      self.assertEqual(overview_inbox[0], entry_key)
 
    for sub in private_subscribers:
      sub_ref = api.actor_get(api.ROOT, sub.subscriber)
      overview_inbox = api.inbox_get_actor_overview(sub_ref, sub_ref.nick)
      if sub.state == 'pending':
        self.assertNotEqual(overview_inbox[0], entry_key)
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertNotEqual(unpopular_inbox[0], comment_first_ref.keyname())
 
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertEqual(unpopular_inbox[0], comment_second_ref.keyname())
 
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertEqual(unpopular_inbox[0], comment_third_ref.keyname())
    # Should see them via the post

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
    for sub in public_subscribers:
      sub_ref = api.actor_get(api.ROOT, sub.subscriber)
      overview_inbox = api.inbox_get_actor_overview(sub_ref, sub_ref.nick)
      self.assertEqual(overview_inbox[0], entry_key)
 
    for sub in private_subscribers:
      sub_ref = api.actor_get(api.ROOT, sub.subscriber)
      overview_inbox = api.inbox_get_actor_overview(sub_ref, sub_ref.nick)
      if sub.state == 'pending':
        self.assertNotEqual(overview_inbox[0], entry_key)
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertNotEqual(unpopular_inbox[0], comment_first_ref.keyname())
 
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertEqual(unpopular_inbox[0], comment_second_ref.keyname())
 
    self.exhaust_queue_any()
 
    unpopular_inbox = api.inbox_get_actor_overview(unpopular_ref, unpopular_ref.nick)
    self.assertEqual(unpopular_inbox[0], comment_third_ref.keyname())
    # Should see them via the post

src/j/a/JaikuEngine-HEAD/api/tests.py   JaikuEngine(Download)
    self.exhaust_queue_any()
 
    inbox = api.inbox_get_actor_overview(api.ROOT, 'popular@example.com')
    entry_ref = api.entry_get(api.ROOT, inbox[0])
    self.assertEqual(entry_ref.title(), message)

src/j/a/jaikuenginepatch-HEAD/api/tests.py   jaikuenginepatch(Download)
    self.exhaust_queue_any()
 
    inbox = api.inbox_get_actor_overview(api.ROOT, 'popular@example.com')
    entry_ref = api.entry_get(api.ROOT, inbox[0])
    self.assertEqual(entry_ref.title(), message)

src/c/o/CollabQ-HEAD/api/tests.py   CollabQ(Download)
    self.exhaust_queue_any()
 
    inbox = api.inbox_get_actor_overview(api.ROOT, 'popular@example.com')
    entry_ref = api.entry_get(api.ROOT, inbox[0])
    self.assertEqual(entry_ref.title(), message)