#NEWLINE# def test_result( self ) : #NEWLINE# #INDENT# 'Test coverage violation result' #NEWLINE# data = { #NEWLINE# #INDENT# 'raw' : get_content ( 'coverage.out' ) , #NEWLINE# #UNINDENT# } #NEWLINE# result = coverage_violation ( data ) #NEWLINE# result [ 'status' ] . should . be . equal ( STATUS_SUCCESS ) #NEWLINE# result [ 'plot' ] [ 'cover' ] . should . be . equal ( 86 ) #NEWLINE# result [ 'success_percent' ] . should . be . equal ( 86 )