Commit 7c494df9 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fix imports and update docstrings

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@43708 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d7050f8b
......@@ -26,7 +26,6 @@
#
##############################################################################
import unittest
from magic import Magic
from cloudooo.handler.ffmpeg.handler import FFMPEGHandler
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
......
......@@ -26,7 +26,6 @@
#
##############################################################################
import unittest
import magic
from cloudooo.handler.ffmpeg.handler import FFMPEGHandler
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
......
......@@ -27,7 +27,6 @@
##############################################################################
import unittest
import magic
from cloudooo.handler.imagemagick.handler import ImageMagickHandler
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
......
......@@ -28,6 +28,7 @@
import unittest
from cloudooo.handler.ooo.filter import Filter
from cloudooo.handler.tests.handlerTestCase import make_suite
class TestFilter(unittest.TestCase):
......
......@@ -52,7 +52,7 @@ class TestInterface(unittest.TestCase):
"""Test All Interfaces"""
def testITableGranulator(self):
"""Test if OOGranulator implements ITableGranulator"""
"""Test if Manager implements ITableGranulator"""
self.assertTrue(ITableGranulator.implementedBy(Manager))
method_list = ['getLineItemList',
'getTableItem',
......@@ -62,7 +62,7 @@ class TestInterface(unittest.TestCase):
self.assertEquals(sorted(ITableGranulator.names()), sorted(method_list))
def testITextGranulator(self):
"""Test if OOGranulator implements ITextGranulator"""
"""Test if Manager implements ITextGranulator"""
self.assertTrue(ITextGranulator.implementedBy(Manager))
method_list = ['getChapterItemList',
'getParagraphItem',
......@@ -71,7 +71,7 @@ class TestInterface(unittest.TestCase):
self.assertEquals(ITextGranulator.names(), method_list)
def testIImageGranulator(self):
"""Test if OOGranulator implements IImageGranulator"""
"""Test if Manager implements IImageGranulator"""
self.assertTrue(IImageGranulator.implementedBy(Manager))
method_list = ['getImageItemList', 'getImage']
self.assertEquals(IImageGranulator.names(), method_list)
......
......@@ -27,7 +27,6 @@
##############################################################################
import unittest
from cloudooo.handler.pdf.handler import PDFHandler
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from types import DictType
......
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