# vim: set filetype=python:
# Tests ported DrawBot ImageObject.

>>> from pagebot.contexts import getContext
>>> from pagebot.filepaths import getResourcesPath
>>> from pagebot.document import Document
>>> from pagebot.elements import newImage
>>> context = getContext('DrawBot')
>>> doc = Document(context=context) # Stored in doc.view.context
>>> path = getResourcesPath() + '/images/cookbot1.jpg'
>>> e = newImage(path, parent=doc[1])
>>> e.gaussianBlur(12)
