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

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

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
 
    # local to public local
    local_public = api.subscription_request(self.popular,
                                            topic % self.unpopular_nick,
                                            inbox % self.popular_nick)
    self.assertEqual(local_public.state, 'subscribed')
 
    # local to private local
    local_private = api.subscription_request(self.popular,
    def _local_nonexist():
      local_public = api.subscription_request(self.popular,
                                              topic % self.nonexist_nick,
                                              inbox % self.popular_nick)
    self.assertRaises(exception.ApiException, _local_nonexist)
 
    # local to private already contact
    local_already = api.subscription_request(self.popular,
    def _local_sneaky():
      local_sneaky = api.subscription_request(self.popular,
                                              topic % self.unpopular_nick,
                                              inbox % self.unpopular_nick)
    self.assertRaises(exception.ApiException, _local_sneaky)

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
 
    # local to public local
    local_public = api.subscription_request(self.popular,
                                            topic % self.unpopular_nick,
                                            inbox % self.popular_nick)
    self.assertEqual(local_public.state, 'subscribed')
 
    # local to private local
    local_private = api.subscription_request(self.popular,
    def _local_nonexist():
      local_public = api.subscription_request(self.popular,
                                              topic % self.nonexist_nick,
                                              inbox % self.popular_nick)
    self.assertRaises(exception.ApiException, _local_nonexist)
 
    # local to private already contact
    local_already = api.subscription_request(self.popular,
    def _local_sneaky():
      local_sneaky = api.subscription_request(self.popular,
                                              topic % self.unpopular_nick,
                                              inbox % self.unpopular_nick)
    self.assertRaises(exception.ApiException, _local_sneaky)

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
 
    # local to public local
    local_public = api.subscription_request(self.popular,
                                            topic % self.unpopular_nick,
                                            inbox % self.popular_nick)
    self.assertEqual(local_public.state, 'subscribed')
 
    # local to private local
    local_private = api.subscription_request(self.popular,
    def _local_nonexist():
      local_public = api.subscription_request(self.popular,
                                              topic % self.nonexist_nick,
                                              inbox % self.popular_nick)
    self.assertRaises(exception.ApiException, _local_nonexist)
 
    # local to private already contact
    local_already = api.subscription_request(self.popular,
    def _local_sneaky():
      local_sneaky = api.subscription_request(self.popular,
                                              topic % self.unpopular_nick,
                                              inbox % self.unpopular_nick)
    self.assertRaises(exception.ApiException, _local_sneaky)

src/c/o/CollabQ-HEAD/api/tests.py   CollabQ(Download)
  def test_notify_on_restricted_comment(self):
    api.subscription_request(api.ROOT, 
                             'stream/hermit@example.com/comments',
                             'inbox/unpopular@example.com/overview')
 

src/j/a/JaikuEngine-HEAD/api/tests.py   JaikuEngine(Download)
  def test_notify_on_restricted_comment(self):
    api.subscription_request(api.ROOT, 
                             'stream/hermit@example.com/comments',
                             'inbox/unpopular@example.com/overview')
 

src/j/a/jaikuenginepatch-HEAD/api/tests.py   jaikuenginepatch(Download)
  def test_notify_on_restricted_comment(self):
    api.subscription_request(api.ROOT, 
                             'stream/hermit@example.com/comments',
                             'inbox/unpopular@example.com/overview')