#NEWLINE# def test_it_handles_missing_uuid( self ) : #NEWLINE# #INDENT# url = '/checks/6837d6ec-fc08-4da5-a67f-08a9ed1ccf62/timeout/' #NEWLINE# payload = { #NEWLINE# #INDENT# 'timeout' : 3600 , #NEWLINE# 'grace' : 60 , #NEWLINE# #UNINDENT# } #NEWLINE# self . client . login ( username = 'alice@example.org' , password = 'password' ) #NEWLINE# r = self . client . post ( r , data = payload ) #NEWLINE# assert ( r . status_code == 404 )