import xml.etree.cElementTree as ET from build.plugins import ssqls example = '''\ <a.h> "b.h" ''' def test_include_parser(): doc = ET.fromstring(example) xmls, headers = ssqls.SSQLSParser.parse_doc(doc) assert headers == ['a.h', 'b.h', 'C.h'] assert xmls == ['A.ssqls', 'C.ssqls']