def test_file_different(examples_tag_file, symbol1, symbol2): tag_file = ET.parse(examples_tag_file) mapping = doxylink.SymbolMap(tag_file) assert mapping[symbol1].file != mapping[symbol2].file
def test_file_html(examples_tag_file, symbol, file): tag_file = ET.parse(examples_tag_file) mapping = doxylink.SymbolMap(tag_file) assert mapping[symbol].file.startswith(file)