I managed to create a test for this using 'integration' tests and a webserver to serve the images. I also created a script to generate a static image suitable for this testcase.
@mwhudson, please check if this is acceptable. -- https://code.launchpad.net/~alexsander-souza/curtin/+git/curtin/+merge/408913 Your team curtin developers is subscribed to branch curtin:master. -- Mailing list: https://launchpad.net/~curtin-dev Post to : curtin-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~curtin-dev More help : https://help.launchpad.net/ListHelp