Commit 76b9d5b6 authored by Gabriel Monnerat's avatar Gabriel Monnerat

Remove unused imports

parent bf608e81
......@@ -29,7 +29,7 @@
##############################################################################
from os.path import join
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
from cloudooo.tests.backportUnittest import skip
......
......@@ -29,7 +29,7 @@
##############################################################################
from os.path import join
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
class TestAllSupportedFormat(TestCase):
......
......@@ -30,7 +30,7 @@
from magic import Magic
from cloudooo.handler.ffmpeg.handler import Handler
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
class TestHandler(HandlerTestCase):
......
......@@ -31,7 +31,6 @@
import unittest
from cloudooo.interfaces.handler import IHandler
from cloudooo.handler.ffmpeg.handler import Handler
from cloudooo.tests.handlerTestCase import make_suite
class TestInterface(unittest.TestCase):
......
......@@ -29,7 +29,7 @@
##############################################################################
from os.path import join
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
class TestServer(TestCase):
"""Test XmlRpc Server. Needs cloudooo server started"""
......
......@@ -31,7 +31,7 @@
import magic
from cloudooo.handler.imagemagick.handler import Handler
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
class TestHandler(HandlerTestCase):
......
......@@ -28,7 +28,7 @@
#
##############################################################################
from os.path import join
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
class TestServer(TestCase):
......
......@@ -29,7 +29,6 @@
##############################################################################
import json
import re
import pkg_resources
import mimetypes
from base64 import decodestring, encodestring
......
......@@ -28,7 +28,7 @@
#
##############################################################################
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
class TestAllFormats(TestCase):
"""Test XmlRpc Server. Needs cloudooo server started"""
......
......@@ -29,7 +29,7 @@
##############################################################################
from xmlrpclib import Fault
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
from base64 import encodestring
class TestAllFormatsERP5Compatibility(TestCase):
......
......@@ -30,7 +30,6 @@
import unittest
from cloudooo.handler.ooo.application.application import Application
from cloudooo.tests.handlerTestCase import make_suite
class TestApplication(unittest.TestCase):
......
......@@ -35,7 +35,6 @@ from base64 import decodestring
from os import path
from zipfile import ZipFile
from cloudooo.handler.ooo.document import FileSystemDocument
from cloudooo.tests.handlerTestCase import make_suite
class TestFileSystemDocument(unittest.TestCase):
......
......@@ -30,7 +30,6 @@
import unittest
from cloudooo.handler.ooo.filter import Filter
from cloudooo.tests.handlerTestCase import make_suite
class TestFilter(unittest.TestCase):
......
......@@ -32,7 +32,7 @@
from zipfile import ZipFile
from StringIO import StringIO
from lxml import etree
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.granulator import OOGranulator
......
......@@ -31,7 +31,7 @@
import magic
from os import path
from base64 import encodestring, decodestring
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.handler import Handler
from cloudooo.handler.ooo.application.openoffice import openoffice
import os
......
......@@ -30,7 +30,7 @@
from base64 import encodestring, decodestring
from multiprocessing import Process, Array
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
import magic
mime_decoder = magic.Magic(mime=True)
......
......@@ -46,7 +46,6 @@ from cloudooo.interfaces.monitor import IMonitor
from cloudooo.interfaces.granulate import ITableGranulator, \
IImageGranulator, \
ITextGranulator
from cloudooo.tests.handlerTestCase import make_suite
from cloudooo.tests.backportUnittest import TestCase, expectedFailure
......
......@@ -29,7 +29,7 @@
##############################################################################
from base64 import encodestring
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
from pkg_resources import resource_filename
......
......@@ -28,7 +28,7 @@
#
##############################################################################
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.application.openoffice import openoffice
from cloudooo.handler.ooo.mimemapper import MimeMapper
......
......@@ -29,7 +29,7 @@
##############################################################################
import cloudooo.handler.ooo.monitor as monitor
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.monitor.request import MonitorRequest
from cloudooo.handler.ooo.monitor.memory import MonitorMemory
......
......@@ -34,7 +34,6 @@ from cloudooo.handler.ooo.application.openoffice import openoffice
from cloudooo.handler.ooo.monitor.memory import MonitorMemory
from psutil import Process
from types import IntType
from cloudooo.tests.handlerTestCase import make_suite
OPENOFFICE = True
......
......@@ -30,7 +30,7 @@
from time import sleep
from cloudooo.handler.ooo.monitor.request import MonitorRequest
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.application.openoffice import openoffice
OPENOFFICE = True
......
......@@ -32,7 +32,6 @@ import unittest
from time import sleep
from cloudooo.handler.ooo.application.openoffice import openoffice
from cloudooo.handler.ooo.monitor.timeout import MonitorTimeout
from cloudooo.tests.handlerTestCase import make_suite
OPENOFFICE = True
......
......@@ -30,7 +30,7 @@
from zipfile import ZipFile
from lxml import etree
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.document import OdfDocument
......
......@@ -28,7 +28,7 @@
#
##############################################################################
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.application.openoffice import OpenOffice
from cloudooo.handler.ooo.util import waitStopDaemon
......
......@@ -36,7 +36,7 @@ from StringIO import StringIO
from lxml import etree
from types import DictType
from zipfile import ZipFile, is_zipfile
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
from cloudooo.tests.backportUnittest import expectedFailure
import magic
from cloudooo.handler.ooo.tests.testOooMimemapper import text_expected_tuple, presentation_expected_tuple
......
......@@ -33,7 +33,7 @@ import magic
import pkg_resources
from subprocess import Popen, PIPE
from os.path import exists, join
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from cloudooo.handler.ooo.application.openoffice import openoffice
from cloudooo.handler.ooo.document import FileSystemDocument
......
......@@ -33,7 +33,7 @@ import pkg_resources
from cloudooo.handler.ooo.application.openoffice import openoffice
from subprocess import Popen, PIPE
from os import environ, path
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
OPENOFFICE = True
......
......@@ -31,7 +31,6 @@
import unittest
import logging
from cloudooo import util
from cloudooo.tests.handlerTestCase import make_suite
import mimetypes
......
......@@ -30,7 +30,7 @@
from cloudooo.handler.pdf.handler import Handler
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
from types import DictType
......
......@@ -29,7 +29,7 @@
##############################################################################
from os.path import join
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
class TestServer(TestCase):
......
......@@ -31,7 +31,7 @@ from base64 import b64encode
import magic
from cloudooo.handler.wkhtmltopdf.handler import Handler
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
class TestHandler(HandlerTestCase):
......
......@@ -27,7 +27,7 @@
#
##############################################################################
from os.path import join
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
class TestServer(TestCase):
......
......@@ -41,7 +41,7 @@ from cloudooo.file import File
from cloudooo.util import logger, unzip, parseContentType
from cloudooo.handler.ooo.handler import Handler as OOoHandler
from zipfile import ZipFile, ZIP_DEFLATED
from zipfile import ZipFile
AVS_OFFICESTUDIO_FILE_UNKNOWN = 0x0000
......
......@@ -32,7 +32,7 @@
from zipfile import ZipFile
from cStringIO import StringIO
from cloudooo.handler.x2t.handler import Handler
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase
OPENOFFICE = True
......
......@@ -27,7 +27,7 @@
#
##############################################################################
from os.path import join
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.cloudoooTestCase import TestCase
class TestServer(TestCase):
......
......@@ -30,7 +30,7 @@
##############################################################################
import mimetypes
from mimetypes import guess_type, guess_all_extensions, guess_extension
from mimetypes import guess_type, guess_extension
from base64 import encodestring, decodestring
from zope.interface import implements
from interfaces.manager import IManager, IERP5Compatibility
......
from setuptools import setup, find_packages
import sys
version = '1.2.6-dev'
......
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