def test_put_with_bool_data_user_serializer(self):

        aerospike.set_serializer(serialize_function)
        aerospike.set_deserializer(deserialize_function)
        key = ('test', 'demo', 1)

        rec = {'status': True}

        res = TestUserSerializer.client.put(key, rec, {}, {},
                                            aerospike.SERIALIZER_USER)

        assert res == 0

        _, _, bins = TestUserSerializer.client.get(key)

        assert bins == {'status': True}

        self.delete_keys.append(key)
Invoke put() for bool data record with user serializer.
dataset/ETHPy150Open aerospike/aerospike-client-python/test/old_tests/test_user_serializer.py/TestUserSerializer.test_put_with_bool_data_user_serializer