#NEWLINE# def test_run( self ) : #NEWLINE# #INDENT# class CheckIt ( health . CheckItem ) : #NEWLINE# #INDENT# 'There be dragons' #NEWLINE# def __call__( self ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# check_list = health . CheckList ( refresh = 2 ) #NEWLINE# check = CheckIt ( ) #NEWLINE# check_list . add_check ( check ) #NEWLINE# check_list . run ( ) #NEWLINE# self . assertEqual ( check_list . latest_report , { #NEWLINE# #INDENT# 'CheckIt' : { #NEWLINE# #INDENT# 'status' : True , #NEWLINE# 'description' : 'There be dragons' , #NEWLINE# #UNINDENT# } , #NEWLINE# #UNINDENT# } )