def check_strict_atom(feed): name = gen_temp_planet(feed) assert(validate_p(os.path.join(opt['output_dir'], name, "atom.xml"), "AA")) destroy_temp_planet(name)
def check_valid_opml(feed): name = gen_temp_planet(feed) assert(validate_p(os.path.join(opt['output_dir'], name, "opml.xml"), "A")) destroy_temp_planet(name)