#NEWLINE# def test_contains( session ) : #NEWLINE# #INDENT# hash_ = session . set ( key ( 'test_hash_contains' ) , fixture_a , Hash ) #NEWLINE# assert ( 'a' in hashx ) #NEWLINE# assert ( 'b' not in hash_ ) #NEWLINE# assert ( 'c' in hash_ ) #NEWLINE# assert ( 1 not in hash_ ) #NEWLINE# hashx = session . set ( key ( 'test_hashx_contains' ) , fixture_b , Hash ( NInt ) ) #NEWLINE# assert ( 1 in hashx ) #NEWLINE# assert ( 2 in hashx ) #NEWLINE# assert ( 4 not in hashx ) #NEWLINE# assert ( '1' not in hashx ) #NEWLINE# assert ( '4' not in hashx )