#NEWLINE# def test_do_chassis_list_sort_key( self ) : #NEWLINE# #INDENT# client_mock = mock . MagicMock ( ) #NEWLINE# args = self . _get_client_mock_args ( sort_key = 'created_at' , detail = False ) #NEWLINE# c_shell . do_chassis_list ( client_mock , args ) #NEWLINE# client_mock . chassis . list . assert_called_once_with ( sort_key = 'created_at' , detail = False )