#NEWLINE# def testRegexForStringifiedValueDoesNotMatchLabelsNotInList( self ) : #NEWLINE# #INDENT# labels_list = aff4_rdfvalues . AFF4ObjectLabelsList ( ) #NEWLINE# labels_list . AddLabel ( aff4_rdfvalues . AFF4ObjectLabel ( name = 'ein' , owner = 'GRR' ) ) #NEWLINE# labels_list . AddLabel ( aff4_rdfvalues . AFF4ObjectLabel ( name = 'zwei' , owner = 'test' ) ) #NEWLINE# self . assertFalse ( re . match ( aff4_rdfvalues . AFF4ObjectLabelsList . RegexForStringifiedValueMatch ( 'e' ) , str ( self ) ) ) #NEWLINE# self . assertFalse ( re . match ( aff4_rdfvalues . AFF4ObjectLabelsList . RegexForStringifiedValueMatch ( 'in' ) , str ( labels_list ) ) ) #NEWLINE# self . assertFalse ( re . match ( aff4_rdfvalues . AFF4ObjectLabelsList . RegexForStringifiedValueMatch ( 'a.zwer' ) , str ( labels_list ) ) ) #NEWLINE# self . assertFalse ( re . match ( aff4_rdfvalues . AFF4ObjectLabelsList . RegexForStringifiedValueMatch ( 'ein.' ) , str ( labels_list ) ) )