>>> import albatross >>> ctx = albatross.SimpleContext('.') >>> ctx.locals.simple = 0 >>> ctx.locals.works = 1 >>> albatross.Template(ctx, '', ''' ... FALSETRUE ... Simple: ... Works: ... ''').to_html(ctx) >>> ctx.flush_content() Simple: FALSE Works: TRUE