def mk_wp_doc(wrapper): doc = Doc("hello.txt|wp", contents="hello, this is a blog post", dirty=True, wrapper=wrapper) for d in doc.datas(): d.setup() return doc
def mk_wp_doc(wrapper): doc = Doc("hello.txt|wp", contents = "hello, this is a blog post", dirty = True, wrapper=wrapper ) for d in doc.datas(): d.setup() return doc