#NEWLINE# def test_activities( self ) : #NEWLINE# #INDENT# with port . assertRaises ( MethodNotSupported ) : #NEWLINE# #INDENT# self . service . activities ( ) . create ( ) #NEWLINE# self . service . activities ( ) . update ( ) #NEWLINE# self . service . activities ( ) . delete ( ) #NEWLINE# #UNINDENT# kwargs = { #NEWLINE# #INDENT# 'part' : 'snippet' , #NEWLINE# 'mine' : True , #NEWLINE# 'maxResults' : 5 , #NEWLINE# 'publishedBefore' : '2012-01-01' , #NEWLINE# #UNINDENT# } #NEWLINE# self . service . activities ( ) . get ( ** kwargs ) #NEWLINE# self . expect ( 'activities' , get_params ( None , kwargs ) )