Module Expr Str Import alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Str Assign NameStore Call NameLoad Str Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad Str Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str Expr Call NameLoad SubscriptLoad NameLoad Index AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad Str Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Str Assign NameStore Call NameLoad Str Str Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad NameLoad Num Expr Call NameLoad SubscriptLoad NameLoad Index Str Str Expr Call NameLoad SubscriptLoad NameLoad Index Str Str decorator_list decorator_list
N/A N/A  Copyright 2013 Smartling, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this work except in compliance with the License.
 * You may obtain a copy of the License in the LICENSE file, or at:
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 N/A os N/A sys N/A lib_path N/A N/A N/A os path abspath ../ N/A N/A N/A N/A sys path append lib_path smartlingApiSdk.SmartlingDirective SmartlingDirective smartlingApiSdk.FileApiBase FileApiBase smartlingApiSdk.UploadData UploadData smartlingApiSdk.Constants Params nose.tools assert_equal test_UploadData N/A object N/A mock_uploadMultipart N/A N/A self uri params N/A N/A N/A params N/A test_commandUpload N/A N/A self N/A N/A N/A ud N/A UploadData path name type N/A api N/A FileApiBase host apiKey projectId N/A N/A api uploadMultipart N/A self mock_uploadMultipart N/A params N/A N/A api commandUpload ud N/A N/A assert_equal N/A len params 4 N/A N/A assert_equal N/A params N/A N/A Params FILE_URI name N/A N/A assert_equal N/A params N/A N/A Params FILE_TYPE type N/A N/A assert_equal N/A params N/A N/A Params FILE_PATH pathname N/A N/A assert_equal N/A params N/A N/A Params APPROVED false N/A test_commandUpload_Callback_Approved N/A N/A self N/A N/A N/A ud N/A UploadData path name type N/A N/A N/A ud setApproveContent true N/A N/A N/A ud setCallbackUrl smartling.com N/A api N/A FileApiBase host apiKey projectId N/A N/A api uploadMultipart N/A self mock_uploadMultipart N/A params N/A N/A api commandUpload ud N/A N/A assert_equal N/A len params 5 N/A N/A assert_equal N/A params N/A N/A Params APPROVED true N/A N/A assert_equal N/A params N/A N/A Params CALLBACK_URL smartling.com N/A test_commandUpload_Directives N/A N/A self N/A N/A N/A ud N/A UploadData path name type N/A N/A N/A ud setApproveContent true N/A N/A N/A ud setCallbackUrl smartling.com N/A N/A N/A ud addDirective N/A SmartlingDirective placeholder_format_custom \[.+?\] N/A N/A N/A ud addDirective N/A SmartlingDirective placeholder_format IOS N/A api N/A FileApiBase host apiKey projectId N/A N/A api uploadMultipart N/A self mock_uploadMultipart N/A params N/A N/A api commandUpload ud N/A N/A assert_equal N/A len params 7 N/A N/A assert_equal N/A params N/A smartling.placeholder_format_custom \[.+?\] N/A N/A assert_equal N/A params N/A smartling.placeholder_format IOS N/A N/A