def test_text_report_delta__no_diff():
    from pycobertura.reporters import TextReporterDelta
    cobertura1 = make_cobertura('tests/dummy.source1/coverage.xml')
    cobertura2 = make_cobertura('tests/dummy.source1/coverage.xml')
    report_delta = TextReporterDelta(cobertura1, cobertura2)
    assert (report_delta.generate() == 'Filename    Stmts    Miss    Cover    Missing\n----------  -------  ------  -------  ---------\nTOTAL       -        -       -')
def test_text_report_delta__no_diff():
    from pycobertura.reporters import TextReporterDelta
    cobertura1 = make_cobertura('tests/dummy.source1/coverage.xml')
    cobertura2 = make_cobertura('tests/dummy.source1/coverage.xml')
    report_delta = TextReporterDelta(cobertura1, cobertura2)
    assert (report_delta.generate() == 'Filename    Stmts    Miss    Cover    Missing\n----------  -------  ------  -------  ---------\nTOTAL       -        -       -')