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

Remove unused imports

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