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
49b6a4c5
Commit
49b6a4c5
authored
May 31, 2011
by
Priscila Manhaes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added commentaries
parent
ebd5a705
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
cloudooo/handler/ffmpeg/tests/testServer.py
cloudooo/handler/ffmpeg/tests/testServer.py
+5
-1
No files found.
cloudooo/handler/ffmpeg/tests/testServer.py
View file @
49b6a4c5
...
...
@@ -30,6 +30,7 @@ from os.path import join
from
cloudooo.tests.cloudoooTestCase
import
TestCase
,
make_suite
class
TestServer
(
TestCase
):
"""Test XmlRpc Server. Needs cloudooo server started"""
def
ConversionScenarioList
(
self
):
return
[
...
...
@@ -37,15 +38,17 @@ class TestServer(TestCase):
]
def
testConvertVideo
(
self
):
"""Converts ogv video to mpeg format"""
self
.
runConversionList
(
self
.
ConversionScenarioList
())
def
GetMetadataScenarioList
(
self
):
return
[
(
join
(
'data'
,
'test.ogv'
),
"ogv"
,
dict
(
Data
=
''
,
E
NCODER
=
'Lavf52.64'
+
(
join
(
'data'
,
'test.ogv'
),
"ogv"
,
dict
(
Data
=
''
,
E
ncoder
=
'Lavf52.64'
+
'.2'
)),
]
def
testGetMetadata
(
self
):
"""test if metadata are extracted correctly"""
self
.
runGetMetadataList
(
self
.
GetMetadataScenarioList
())
def
UpdateMetadataScenarioList
(
self
):
...
...
@@ -56,6 +59,7 @@ class TestServer(TestCase):
]
def
testSetMetadata
(
self
):
"""Test if metadata is inserted correctly"""
self
.
runUpdateMetadataList
(
self
.
UpdateMetadataScenarioList
())
def
test_suite
():
...
...
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