#NEWLINE# @ mock . patch ( 'rally.common.objects.verification.db.verification_create' ) #NEWLINE# def test_init_without_create( self , mock_verification_create ) : #NEWLINE# #INDENT# verification = objects . Verification ( db_object = self . db_obj ) #NEWLINE# self . assertEqual ( 0 , mock_verification_create . call_count ) #NEWLINE# self . assertEqual ( self . db_obj [ 'failures' ] , verification . failures ) #NEWLINE# self . assertEqual ( self . db_obj [ 'tests' ] , verification . tests ) #NEWLINE# self . assertEqual ( self . db_obj [ 'errors' ] , verification . errors ) #NEWLINE# self . assertEqual ( self . db_obj [ 'time' ] , verification . time )