Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Vincent Bechu
cloudooo
Commits
3af9d12a
Commit
3af9d12a
authored
Jun 08, 2011
by
Priscila Manhaes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor to remove unsed variable
parent
a4a3dfd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
cloudooo/handler/ffmpeg/tests/testFfmpegHandler.py
cloudooo/handler/ffmpeg/tests/testFfmpegHandler.py
+1
-2
No files found.
cloudooo/handler/ffmpeg/tests/testFfmpegHandler.py
View file @
3af9d12a
...
...
@@ -62,8 +62,7 @@ class TestHandler(HandlerTestCase):
def
testConvertAudio
(
self
):
"""Test coversion of audio to another format"""
self
.
data
=
open
(
"./data/test.ogg"
).
read
()
kw
=
dict
(
env
=
dict
(
PATH
=
self
.
env_path
))
self
.
input
=
Handler
(
self
.
tmp_url
,
self
.
data
,
"ogg"
,
**
kw
)
self
.
input
=
Handler
(
self
.
tmp_url
,
self
.
data
,
"ogg"
,
**
self
.
kw
)
output_data
=
self
.
input
.
convert
(
"wav"
)
file_format
=
self
.
file_detector
.
from_buffer
(
output_data
)
# XXX this might expect 'audio/vnd.wave' but magic only got 'audio/x-wav'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment