Exemplo n.º 1
0
 def test_redis_key(self):
     redis = RedisController(redis_client=FakeStrictRedis())
     assert redis.get_key(USER_ID, ACTION) == '123456789_test'
 def test_redis_key(self):
     redis = RedisController()
     assert redis.get_key(USER_ID, ACTION) == '123456789_test'