def setup(): # create path if not os.path.exists(TEST_ROOT): os.mkdir(TEST_ROOT) paths.set_paths(TEST_ROOT) # setup blog writer.setup_blog()