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

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

src/j/a/JaikuEngine-HEAD/common/test/api.py   JaikuEngine(Download)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    key, value)
    got_keyvalue = api.keyvalue_get(api.ROOT, self.popular_nick,
                                    key);
    for keyvalue in (put_keyvalue, got_keyvalue):
      self.assertEquals(keyvalue.keyname, key)
      self.assertEquals(keyvalue.value, value)
 
    got_keyvalue = api.keyvalue_get(api.ROOT, self.popular_nick,
    def _read_somebody_elses():
      got_keyvalue = api.keyvalue_get(self.popular, self.unpopular_nick,
                                      key)
    self.assertRaises(exception.ApiException, _read_somebody_elses)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    key, value)
    got_keyvalue = api.keyvalue_get(api.ROOT, self.popular_nick,
                                    key);
    for keyvalue in (put_keyvalue, got_keyvalue):
      self.assertEquals(keyvalue.keyname, key)
      self.assertEquals(keyvalue.value, value)
 
    got_keyvalue = api.keyvalue_get(api.ROOT, self.popular_nick,
    def _read_somebody_elses():
      got_keyvalue = api.keyvalue_get(self.popular, self.unpopular_nick,
                                      key)
    self.assertRaises(exception.ApiException, _read_somebody_elses)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    key, value)
    got_keyvalue = api.keyvalue_get(api.ROOT, self.popular_nick,
                                    key);
    for keyvalue in (put_keyvalue, got_keyvalue):
      self.assertEquals(keyvalue.keyname, key)
      self.assertEquals(keyvalue.value, value)
 
    got_keyvalue = api.keyvalue_get(api.ROOT, self.popular_nick,
    def _read_somebody_elses():
      got_keyvalue = api.keyvalue_get(self.popular, self.unpopular_nick,
                                      key)
    self.assertRaises(exception.ApiException, _read_somebody_elses)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,