#NEWLINE# def test_impressions( self ) : #NEWLINE# #INDENT# with port . assertRaises ( MethodNotSupported ) : #NEWLINE# #INDENT# self . service . impressions ( ) . get ( ) #NEWLINE# self . service . impressions ( ) . update ( ) #NEWLINE# self . service . impressions ( ) . delete ( ) #NEWLINE# #UNINDENT# impression = { #NEWLINE# #INDENT# 'impression' : 'x' , #NEWLINE# #UNINDENT# } #NEWLINE# self . service . impressions ( ) . create ( impression ) #NEWLINE# self . expect ( 'POST' , '/users/impressions' , json . dumps ( impression ) )