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)
  def test_keyvalue(self):
    key = 'key1'
    value = 'value1'
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    key, value)
    def _write_somebody_elses():
      put_keyvalue = api.keyvalue_put(self.popular, self.unpopular_nick,
                                      key, value)
    self.assertRaises(exception.ApiException, _write_somebody_elses)
    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,
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    'p1', value)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    'p2', value)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.unpopular_nick,

src/c/o/CollabQ-HEAD/common/test/api.py   CollabQ(Download)
  def test_keyvalue(self):
    key = 'key1'
    value = 'value1'
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    key, value)
    def _write_somebody_elses():
      put_keyvalue = api.keyvalue_put(self.popular, self.unpopular_nick,
                                      key, value)
    self.assertRaises(exception.ApiException, _write_somebody_elses)
    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,
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    'p1', value)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    'p2', value)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.unpopular_nick,

src/j/a/jaikuenginepatch-HEAD/common/test/api.py   jaikuenginepatch(Download)
  def test_keyvalue(self):
    key = 'key1'
    value = 'value1'
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    key, value)
    def _write_somebody_elses():
      put_keyvalue = api.keyvalue_put(self.popular, self.unpopular_nick,
                                      key, value)
    self.assertRaises(exception.ApiException, _write_somebody_elses)
    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,
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    'p1', value)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.popular_nick,
                                    'p2', value)
    put_keyvalue = api.keyvalue_put(api.ROOT, self.unpopular_nick,