Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
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):
...
@@ -62,8 +62,7 @@ class TestHandler(HandlerTestCase):
def
testConvertAudio
(
self
):
def
testConvertAudio
(
self
):
"""Test coversion of audio to another format"""
"""Test coversion of audio to another format"""
self
.
data
=
open
(
"./data/test.ogg"
).
read
()
self
.
data
=
open
(
"./data/test.ogg"
).
read
()
kw
=
dict
(
env
=
dict
(
PATH
=
self
.
env_path
))
self
.
input
=
Handler
(
self
.
tmp_url
,
self
.
data
,
"ogg"
,
**
self
.
kw
)
self
.
input
=
Handler
(
self
.
tmp_url
,
self
.
data
,
"ogg"
,
**
kw
)
output_data
=
self
.
input
.
convert
(
"wav"
)
output_data
=
self
.
input
.
convert
(
"wav"
)
file_format
=
self
.
file_detector
.
from_buffer
(
output_data
)
file_format
=
self
.
file_detector
.
from_buffer
(
output_data
)
# XXX this might expect 'audio/vnd.wave' but magic only got 'audio/x-wav'
# 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