#NEWLINE# @ run_with_all_backends #NEWLINE# def test_update_failure_next_check( self ) : #NEWLINE# #INDENT# now = datetime . utcnow ( ) #NEWLINE# record = RepeatRecord ( domain = self . domain , next_check = now ) #NEWLINE# self . assertIsNone ( record . last_checked ) #NEWLINE# record . update_failure ( ) #NEWLINE# self . assertTrue ( ( record . last_checked > now ) ) #NEWLINE# self . assertEqual ( record . next_check , ( self . last_checked + MIN_RETRY_WAIT ) )