def check_result(self, test_name, depmap): got = etree.fromstring(depmap) want = etree.parse(os.path.join(self.workdir, test_name+"-want.xml")).getroot() report = compare_lxml_etree(got, want, unordered=['artifact', 'maven']) if report: report = '\n' + report return report
def check_result(self, test_name): got = etree.parse(".xmvn-reactor").getroot() want = etree.parse(os.path.join(self.workdir, test_name + "-want.xml")).getroot() report = compare_lxml_etree(got, want, unordered=['dependencies']) if report: report = '\n' + report return report
def check_result(self, test_name, depmap): got = etree.fromstring(depmap) want = etree.parse(os.path.join(self.workdir, test_name + "-want.xml")).getroot() report = compare_lxml_etree(got, want, unordered=['artifact', 'maven']) if report: report = '\n' + report return report