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)
  def test_activation_request_mobile(self):
    actor = api.actor_get(api.ROOT, self.celebrity_nick)
 
    activation_ref = api.activation_request_mobile(
        actor, actor.nick, '+14085551212')
 
    activation_ref = api.activation_request_mobile(
        actor, actor.nick, '+16505551212')
    activations = api.activation_get_actor_mobile(api.ROOT, actor.nick)
    self.assertEqual(len(activations), 1)
  def test_activation_activate_mobile(self):
    actor_ref = api.actor_get(api.ROOT, self.celebrity_nick)
    mobile = '+14085551212'
    activation_ref = api.activation_request_mobile(
        actor_ref, actor_ref.nick, mobile)
    def _checkDuplicate():
      activation_ref = api.activation_request_mobile(
          actor_ref, actor_ref.nick, mobile)
    self.assertRaises(exception.ApiException, _checkDuplicate)
 

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
  def test_activation_request_mobile(self):
    actor = api.actor_get(api.ROOT, self.celebrity_nick)
 
    activation_ref = api.activation_request_mobile(
        actor, actor.nick, '+14085551212')
 
    activation_ref = api.activation_request_mobile(
        actor, actor.nick, '+16505551212')
    activations = api.activation_get_actor_mobile(api.ROOT, actor.nick)
    self.assertEqual(len(activations), 1)
  def test_activation_activate_mobile(self):
    actor_ref = api.actor_get(api.ROOT, self.celebrity_nick)
    mobile = '+14085551212'
    activation_ref = api.activation_request_mobile(
        actor_ref, actor_ref.nick, mobile)
    def _checkDuplicate():
      activation_ref = api.activation_request_mobile(
          actor_ref, actor_ref.nick, mobile)
    self.assertRaises(exception.ApiException, _checkDuplicate)
 

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
  def test_activation_request_mobile(self):
    actor = api.actor_get(api.ROOT, self.celebrity_nick)
 
    activation_ref = api.activation_request_mobile(
        actor, actor.nick, '+14085551212')
 
    activation_ref = api.activation_request_mobile(
        actor, actor.nick, '+16505551212')
    activations = api.activation_get_actor_mobile(api.ROOT, actor.nick)
    self.assertEqual(len(activations), 1)
  def test_activation_activate_mobile(self):
    actor_ref = api.actor_get(api.ROOT, self.celebrity_nick)
    mobile = '+14085551212'
    activation_ref = api.activation_request_mobile(
        actor_ref, actor_ref.nick, mobile)
    def _checkDuplicate():
      activation_ref = api.activation_request_mobile(
          actor_ref, actor_ref.nick, mobile)
    self.assertRaises(exception.ApiException, _checkDuplicate)