Commit 73503541 authored by Priscila Manhaes's avatar Priscila Manhaes

refactor to use testFaultGetMetadata from new testcase

parent a1b59adf
......@@ -92,6 +92,16 @@ class TestServer(TestCase):
"""test if OOo metadata are extracted correctly"""
self.runGetMetadataList(self.GetMetadataScenarioList())
def FaultGetMetadataScenarioList(self):
return [
# Test to verify if server fail when a empty string is sent
('', ''),
]
def testFaultGetMetadata(self):
"""getMetadata from invalid OOofiles"""
self.runFaultGetMetadataList(self.FaultGetMetadataScenarioList())
def UpdateMetadataScenarioList(self):
return [
# Test server using method updateFileMetadata
......
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