Пример #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)