Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0d868c3

Browse files
author
Alex Schworer
committed
s/Output/Input
1 parentf79ff41 commit0d868c3

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

‎test/test_inputs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ def setUp(self):
1414
deftest_input_details(self,get):
1515
get.return_value=load_response(200,'fixtures/input_details.json')
1616

17-
resp=self.zen.output.details(15432)
17+
resp=self.zen.input.details(15432)
1818
self.assertEquals(resp.code,200)
1919
self.assertTrue(resp.body['id']>0)
2020

2121
@patch("requests.Session.get")
2222
deftest_input_progress(self,get):
2323
get.return_value=load_response(200,'fixtures/input_progress.json')
2424

25-
resp=self.zen.output.progress(14325)
25+
resp=self.zen.input.progress(14325)
2626
self.assertEquals(resp.code,200)
2727
self.assertEquals(resp.body['state'],'processing')
2828

‎zencoder/core.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ def __init__(self, api_key=None, api_version=None, timeout=None, test=False):
157157
self.job=Job(*args,**kwargs)
158158
self.account=Account(*args,**kwargs)
159159
self.output=Output(*args,**kwargs)
160+
self.input=Input(*args,**kwargs)
160161
self.report=None
161162
ifapi_version=='v2':
162163
self.report=Report(*args,**kwargs)
@@ -237,7 +238,7 @@ def __init__(self, *args, **kwargs):
237238
Contains all API methods relating to Inputs.
238239
"""
239240
kwargs['resource_name']='inputs'
240-
super(Output,self).__init__(*args,**kwargs)
241+
super(Input,self).__init__(*args,**kwargs)
241242

242243
defprogress(self,input_id):
243244
"""

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp