#NEWLINE# def test_newer_green_missing_revision( self ) : #NEWLINE# #INDENT# project = self . create_project ( ) #NEWLINE# current_source = self . create_source ( project = project , revision_sha = ( 'a' * 40 ) ) #NEWLINE# newer_source = self . create_source ( project = project , revision_sha = None ) #NEWLINE# newer_build = self . create_build ( project = project , source = newer_source , status = Status . finished , result = Result . passed ) #NEWLINE# result = find_green_parent_sha ( project , project . revision_sha ) #NEWLINE# assert ( result == current_source . revision_sha )