Ejemplo n.º 1
0
    def _assertGet(self, client=None):
        deck_id = self.deck_id
        shard = self.shard
        card_and_appearance = self.card_and_appearance
        player_id = self.player_id

        init(deck_id, card_and_appearance, shard, client)

        for n in xrange(0, 300):
            self.assertIn(get(deck_id, player_id, client), ['1', '2', '3', '4'])
Ejemplo n.º 2
0
    def _assertGet(self, client=None):
        deck_id = self.deck_id
        shard = self.shard
        card_and_appearance = self.card_and_appearance
        player_id = self.player_id

        init(deck_id, card_and_appearance, shard, client)

        for n in xrange(0, 300):
            self.assertIn(get(deck_id, player_id, client),
                          ['1', '2', '3', '4'])
Ejemplo n.º 3
0
 def get(self, *args, **kwargs):
     return glot.get(client=self.redis, *args, **kwargs)
Ejemplo n.º 4
0
 def get(self, *args, **kwargs):
     return glot.get(client=self.redis, *args, **kwargs)