コード例 #1
0
 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
コード例 #2
0
 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
コード例 #3
0
 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