#NEWLINE# def test_contains( self ) : #NEWLINE# #INDENT# d = TransformDict ( str . lower ) #NEWLINE# self . assertIs ( False , ( 'foo' in d ) ) #NEWLINE# d [ 'Foo' ] = 5 #NEWLINE# self . assertIs ( True , ( 'Foo' in d ) ) #NEWLINE# self . assertIs ( True , ( 'foo' in d ) ) #NEWLINE# self . assertIs ( True , ( 'FOO' in self ) ) #NEWLINE# self . assertIs ( False , ( 'bar' in d ) )