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
1
Merge Requests
1
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
Jérome Perrin
cloudooo
Commits
d5d117b1
Commit
d5d117b1
authored
May 30, 2011
by
Priscila Manhaes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor for using cloudoootestcase
parent
177b7c13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
1 deletion
+33
-1
cloudooo/handler/ffmpeg/tests/testServer.py
cloudooo/handler/ffmpeg/tests/testServer.py
+33
-1
No files found.
cloudooo/handler/ffmpeg/tests/testServer.py
View file @
d5d117b1
...
...
@@ -32,7 +32,7 @@ from os.path import join
from
base64
import
encodestring
,
decodestring
from
magic
import
Magic
DAEMON
=
True
#
DAEMON = True
class
TestServer
(
HandlerTestCase
):
...
...
@@ -68,5 +68,37 @@ class TestServer(HandlerTestCase):
self
.
assertEquals
(
metadata
[
"Title"
],
'Server Set Metadata Test'
)
#from os.path import join
#from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
#class TestServer(TestCase):
# def ConversionScenarioList(self):
# return [
# (join('data', 'test.ogv'), "ogv", "mpeg", "video/mpeg"),
# ]
# def testConvertVideo(self):
# self.runConversionList(self.ConversionScenarioList())
# def GetMetadataScenarioList(self):
# return [
# (join('data', 'test.ogv'), "ogv", dict(Data='', ENCODER='Lavf52.64'+
# '.2')),
# ]
# def testGetMetadata(self):
# self.runGetMetadataList(self.GetMetadataScenarioList())
# def UpdateMetadataScenarioList(self):
# return [
# (join('data', 'test.ogv'), "ogv", dict(title='Server Set Metadata '+
# 'Test'), dict(Data='', ENCODER='Lavf52.64.2', title='Server Set Me'+
# 'tadata Test')),
# ]
# def testSetMetadata(self):
# self.runUpdateMetadataList(self.UpdateMetadataScenarioList())
def
test_suite
():
return
make_suite
(
TestServer
)
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