예제 #1
0
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)
예제 #2
0
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)