#NEWLINE# def testIpInListWhenPropertyValueIsEmpty( self ) : #NEWLINE# #INDENT# 'Tests IpInList() with null/empty property text_value for list.' #NEWLINE# self . mox . StubOutWithMock ( models . util , 'Deserialize' ) #NEWLINE# self . mox . StubOutWithMock ( self . cls , 'MemcacheWrappedGet' ) #NEWLINE# ip = '1.2.3.4' #NEWLINE# self . cls . MemcacheWrappedGet ( self . key , 'text_value' ) . AndReturn ( '' ) #NEWLINE# self . mox . ReplayAll ( ) #NEWLINE# self . assertFalse ( self . cls . IpInList ( self . key , self ) ) #NEWLINE# self . mox . VerifyAll ( )