>>> import albatross >>> class Ctx(albatross.SimpleContext): ... def input_add(self, *args): ... print args ... >>> ctx = Ctx('.') >>> albatross.Template(ctx, '', ''' ... ... ''').to_html(ctx) ('image', 'nextpage,m', None, False) >>> ctx.flush_content()