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'])
def get(self, *args, **kwargs): return glot.get(client=self.redis, *args, **kwargs)