Commit 090824b3 authored by Rafael Monnerat's avatar Rafael Monnerat

Move tests to root of cloudooo.

parent 4d1e36fd
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest from cloudooo.tests import runHandlerUnitTest
def run(): def run():
......
...@@ -30,7 +30,7 @@ from magic import Magic ...@@ -30,7 +30,7 @@ from magic import Magic
from xmlrpclib import ServerProxy from xmlrpclib import ServerProxy
from os.path import join from os.path import join
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
DAEMON = True DAEMON = True
......
...@@ -30,7 +30,7 @@ from magic import Magic ...@@ -30,7 +30,7 @@ from magic import Magic
from xmlrpclib import ServerProxy from xmlrpclib import ServerProxy
from os.path import join from os.path import join
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
DAEMON = True DAEMON = True
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,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.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
class TestHandler(HandlerTestCase): class TestHandler(HandlerTestCase):
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
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.handler.tests.handlerTestCase import make_suite from cloudooo.tests.handlerTestCase import make_suite
class TestInterface(unittest.TestCase): class TestInterface(unittest.TestCase):
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from xmlrpclib import ServerProxy from xmlrpclib import ServerProxy
from os.path import join from os.path import join
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest from cloudooo.tests import runHandlerUnitTest
def run(): def run():
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
import magic import magic
from cloudooo.handler.imagemagick.handler import Handler from cloudooo.handler.imagemagick.handler import Handler
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
class TestHandler(HandlerTestCase): class TestHandler(HandlerTestCase):
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from xmlrpclib import ServerProxy from xmlrpclib import ServerProxy
from os.path import join from os.path import join
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest from cloudooo.tests import runHandlerUnitTest
def run(): def run():
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
from xmlrpclib import ServerProxy, Fault from xmlrpclib import ServerProxy, Fault
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic import magic
file_detector = magic.Magic() file_detector = magic.Magic()
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
from xmlrpclib import ServerProxy, Fault from xmlrpclib import ServerProxy, Fault
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic import magic
file_detector = magic.Magic() file_detector = magic.Magic()
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
import unittest import unittest
from cloudooo.handler.ooo.application.application import Application from cloudooo.handler.ooo.application.application import Application
from cloudooo.handler.tests.handlerTestCase import make_suite from cloudooo.tests.handlerTestCase import make_suite
class TestApplication(unittest.TestCase): class TestApplication(unittest.TestCase):
......
...@@ -33,7 +33,7 @@ from base64 import decodestring ...@@ -33,7 +33,7 @@ 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.handler.tests.handlerTestCase import make_suite from cloudooo.tests.handlerTestCase import make_suite
class TestFileSystemDocument(unittest.TestCase): class TestFileSystemDocument(unittest.TestCase):
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
import unittest import unittest
from cloudooo.handler.ooo.filter import Filter from cloudooo.handler.ooo.filter import Filter
from cloudooo.handler.tests.handlerTestCase import make_suite from cloudooo.tests.handlerTestCase import make_suite
class TestFilter(unittest.TestCase): class TestFilter(unittest.TestCase):
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
from xmlrpclib import ServerProxy from xmlrpclib import ServerProxy
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from multiprocessing import Process, Array from multiprocessing import Process, Array
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic import magic
DAEMON = True DAEMON = True
......
...@@ -45,7 +45,7 @@ from cloudooo.interfaces.monitor import IMonitor ...@@ -45,7 +45,7 @@ from cloudooo.interfaces.monitor import IMonitor
from cloudooo.interfaces.granulate import ITableGranulator, \ from cloudooo.interfaces.granulate import ITableGranulator, \
IImageGranulator, \ IImageGranulator, \
ITextGranulator ITextGranulator
from cloudooo.handler.tests.handlerTestCase import make_suite from cloudooo.tests.handlerTestCase import make_suite
class TestInterface(unittest.TestCase): class TestInterface(unittest.TestCase):
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
from xmlrpclib import ServerProxy from xmlrpclib import ServerProxy
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic import magic
from pkg_resources import resource_filename from pkg_resources import resource_filename
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
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
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
############################################################################## ##############################################################################
import cloudooo.handler.ooo.monitor as monitor import cloudooo.handler.ooo.monitor as monitor
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
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
......
...@@ -32,7 +32,7 @@ from cloudooo.handler.ooo.application.openoffice import openoffice ...@@ -32,7 +32,7 @@ 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.handler.tests.handlerTestCase import make_suite from cloudooo.tests.handlerTestCase import make_suite
OPENOFFICE = True OPENOFFICE = True
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,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.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.handler.ooo.application.openoffice import openoffice from cloudooo.handler.ooo.application.openoffice import openoffice
OPENOFFICE = True OPENOFFICE = True
......
...@@ -30,7 +30,7 @@ import unittest ...@@ -30,7 +30,7 @@ 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.handler.tests.handlerTestCase import make_suite 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 StringIO import StringIO from StringIO import StringIO
from lxml import etree from lxml import etree
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.handler.ooo.granulator import OOGranulator from cloudooo.handler.ooo.granulator import OOGranulator
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,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.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
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
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
from zipfile import ZipFile from zipfile import ZipFile
from lxml import etree from lxml import etree
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.handler.ooo.document import OdfDocument from cloudooo.handler.ooo.document import OdfDocument
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.handler.ooo.application.openoffice import OpenOffice from cloudooo.handler.ooo.application.openoffice import OpenOffice
from cloudooo.handler.ooo.util.util import waitStopDaemon from cloudooo.handler.ooo.util.util import waitStopDaemon
......
...@@ -30,7 +30,7 @@ from os.path import join, exists ...@@ -30,7 +30,7 @@ from os.path import join, exists
from os import remove from os import remove
from xmlrpclib import ServerProxy, Fault from xmlrpclib import ServerProxy, Fault
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from zipfile import ZipFile, is_zipfile from zipfile import ZipFile, is_zipfile
from StringIO import StringIO from StringIO import StringIO
from lxml import etree from lxml import etree
......
...@@ -31,7 +31,7 @@ import magic ...@@ -31,7 +31,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.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
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
......
...@@ -31,7 +31,7 @@ import pkg_resources ...@@ -31,7 +31,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.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
OPENOFFICE = True OPENOFFICE = True
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
import unittest import unittest
import logging import logging
from cloudooo.util import util from cloudooo.util import util
from cloudooo.handler.tests.handlerTestCase import make_suite from cloudooo.tests.handlerTestCase import make_suite
import mimetypes import mimetypes
......
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest from cloudooo.tests import runHandlerUnitTest
def run(): def run():
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
from cloudooo.handler.pdf.handler import Handler from cloudooo.handler.pdf.handler import Handler
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from types import DictType from types import DictType
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
# #
############################################################################## ##############################################################################
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
from xmlrpclib import ServerProxy from xmlrpclib import ServerProxy
from os.path import join from os.path import join
from base64 import encodestring, decodestring from base64 import encodestring, decodestring
......
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