Commit 9810c050 authored by Priscila Manhaes's avatar Priscila Manhaes

Refactor tests' coments for being more especific for eah handler

parent a1b6192c
...@@ -62,7 +62,7 @@ class TestServer(TestCase): ...@@ -62,7 +62,7 @@ class TestServer(TestCase):
] ]
def testGetMetadata(self): def testGetMetadata(self):
"""test if metadata are extracted correctly""" """test if metadata are extracted correctly from video file"""
self.runGetMetadataList(self.GetMetadataScenarioList()) self.runGetMetadataList(self.GetMetadataScenarioList())
def FaultGetMetadataScenarioList(self): def FaultGetMetadataScenarioList(self):
...@@ -83,7 +83,7 @@ class TestServer(TestCase): ...@@ -83,7 +83,7 @@ class TestServer(TestCase):
] ]
def testSetMetadata(self): def testSetMetadata(self):
"""Test if metadata is inserted correctly""" """Test if metadata is inserted correctly into video files"""
self.runUpdateMetadataList(self.UpdateMetadataScenarioList()) self.runUpdateMetadataList(self.UpdateMetadataScenarioList())
def test_suite(): def test_suite():
......
...@@ -60,7 +60,7 @@ class TestServer(TestCase): ...@@ -60,7 +60,7 @@ class TestServer(TestCase):
] ]
def testGetMetadataFromPNG(self): def testGetMetadataFromPNG(self):
"""test if metadata are extracted correctly""" """test if metadata are extracted correctly from png image file"""
self.runGetMetadataList(self.GetMetadataScenarioList()) self.runGetMetadataList(self.GetMetadataScenarioList())
def FaultGetMetadataScenarioList(self): def FaultGetMetadataScenarioList(self):
......
...@@ -168,7 +168,7 @@ class TestServer(TestCase): ...@@ -168,7 +168,7 @@ class TestServer(TestCase):
"""Test fail convertion of Invalid OOofiles""" """Test fail convertion of Invalid OOofiles"""
self.runFaultConversionList(self.FaultConversionScenarioList()) self.runFaultConversionList(self.FaultConversionScenarioList())
@skip('Expected failure') @skip('Expected failure cause zip and pptx files are not supported')
def testConvertWithoutSupport(self): def testConvertWithoutSupport(self):
"""Test convertion of zip files and pptx""" """Test convertion of zip files and pptx"""
self.runConversionList([ self.runConversionList([
......
...@@ -64,7 +64,7 @@ class TestServer(TestCase): ...@@ -64,7 +64,7 @@ class TestServer(TestCase):
] ]
def testGetMetadataFromPdf(self): def testGetMetadataFromPdf(self):
"""test if metadata are extracted correctly""" """test if metadata are extracted correctly from pdf files"""
self.runGetMetadataList(self.GetMetadataScenarioList()) self.runGetMetadataList(self.GetMetadataScenarioList())
def FaultGetMetadataScenarioList(self): def FaultGetMetadataScenarioList(self):
...@@ -83,7 +83,7 @@ class TestServer(TestCase): ...@@ -83,7 +83,7 @@ class TestServer(TestCase):
] ]
def testSetMetadata(self): def testSetMetadata(self):
"""Test if metadata is inserted correctly in document""" """Test if metadata is inserted correctly in pdf file"""
self.runUpdateMetadataList(self.UpdateMetadataScenarioList()) self.runUpdateMetadataList(self.UpdateMetadataScenarioList())
def test_suite(): def test_suite():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment