#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# super ( ListChecksTestCase , self ) . setUp ( ) #NEWLINE# self . profile = Profile ( user = self . alice , api_key = 'abc' ) #NEWLINE# self . profile . save ( ) #NEWLINE# self . checks = [ Check ( user = self . alice , name = 'Alice 1' , timeout = td ( seconds = 3600 ) , grace = td ( seconds = 900 ) ) , Check ( user = self . alice , name = 'Alice 2' , timeout = td ( seconds = 86400 ) , grace = td ( seconds = 3600 ) ) ] #NEWLINE# for check in self . checks : #NEWLINE# #INDENT# check . save ( )