odoo_xmlrpc_twisted.support.support_crop_hints

Supporting program to test the module odoo_xmlrpc_twisted.functions.crop_hints().

Functions

support_crop_hints(custom_image_name)

Function to test the module "crop_hints"

odoo_xmlrpc_twisted.support.support_crop_hints.support_crop_hints(custom_image_name)[source]

Function to test the module “crop_hints”

A picture stored in the current directory will be captured into a stream. The stream will be handled over to the module “crop_hints”. The result from that module will be save as a “PNG” image file to check if “crop_hints” works as expected.