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

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

src/p/y/py-hbpush-HEAD/tests/handlers_redis_test.py   py-hbpush(Download)
 
        self.store.client.zcard(channel_id, (lambda (_,x): self.assertEquals(x, 3), self.finish))
        self.start()
 
        self.execute(
            self.publisher('DELETE', channel_id, cb=self.expect(200)),
        )
 
        self.store.client.zcard(channel_id, (lambda (_,x): self.assertEquals(x, 0), self.finish))
        self.start()
 
        self.store.client.zcard(channel_id, (lambda (_,x): self.assertEquals(x, 9), self.finish))
        self.start()