How to use the fakeredis._decode function in fakeredis

To help you get started, we’ve selected a few fakeredis examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jamesls / fakeredis / test_fakeredis.py View on Github external
def assertEqual(self, a, b, msg=None):
        super(DecodeMixin, self).assertEqual(a, fakeredis._decode(b), msg)
github jamesls / fakeredis / test_fakeredis.py View on Github external
def assertItemsEqual(self, a, b):
        super(DecodeMixin, self).assertItemsEqual(a, fakeredis._decode(b))
github jamesls / fakeredis / test_fakeredis.py View on Github external
def assertIn(self, member, container, msg=None):
        super(DecodeMixin, self).assertIn(fakeredis._decode(member), container)