def test_add_results(self):
    r1 = parse_xunit_results(get_data_file("nosetests_1.xml"))
    r2 = parse_surefire_results(get_data_file("surefire_report_1.xml"))
    r = r1 + r2
    assert r.errors == 0
    assert r.failures == 1
    assert r.skip == 0
    assert len(r.testcases) == 8
dataset/ETHPy150Open lacostej/nosyd/nosyd/tests/test_nosyd.py/TestNosyd.test_add_results/original