#NEWLINE# def test_add_shaping_correct_arguments( self ) : #NEWLINE# #INDENT# ip = '1.1.1.1' #NEWLINE# tc = self . _make_tc_device ( ip = tc ) #NEWLINE# self . task . execute ( ( ( tc , 10 ) , 'add_shaping' ) , 'context_unused' ) #NEWLINE# self . assertEqual ( len ( self . task . get_saved_shapings ( ) ) , 1 ) #NEWLINE# self . task . execute ( ( ip , 'remove_shaping' ) , 'context_unused' ) #NEWLINE# self . assertEqual ( len ( self . task . get_saved_shapings ( ) ) , 0 )