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

Move tests to root of cloudooo.

parent 4d1e36fd
......@@ -27,7 +27,7 @@
#
##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest
from cloudooo.tests import runHandlerUnitTest
def run():
......
......@@ -30,7 +30,7 @@ from magic import Magic
from xmlrpclib import ServerProxy
from os.path import join
from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
DAEMON = True
......
......@@ -30,7 +30,7 @@ from magic import Magic
from xmlrpclib import ServerProxy
from os.path import join
from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
DAEMON = True
......
......@@ -28,7 +28,7 @@
from magic import Magic
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):
......
......@@ -29,7 +29,7 @@
import unittest
from cloudooo.interfaces.handler import IHandler
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):
......
......@@ -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 os.path import join
from base64 import encodestring, decodestring
......
......@@ -27,7 +27,7 @@
#
##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest
from cloudooo.tests import runHandlerUnitTest
def run():
......
......@@ -29,7 +29,7 @@
import magic
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):
......
......@@ -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 os.path import join
from base64 import encodestring, decodestring
......
......@@ -27,7 +27,7 @@
#
##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest
from cloudooo.tests import runHandlerUnitTest
def run():
......
......@@ -28,7 +28,7 @@
from xmlrpclib import ServerProxy, Fault
from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic
file_detector = magic.Magic()
......
......@@ -28,7 +28,7 @@
from xmlrpclib import ServerProxy, Fault
from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic
file_detector = magic.Magic()
......
......@@ -28,7 +28,7 @@
import unittest
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):
......
......@@ -33,7 +33,7 @@ from base64 import decodestring
from os import path
from zipfile import ZipFile
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):
......
......@@ -28,7 +28,7 @@
import unittest
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):
......
......@@ -29,7 +29,7 @@
from xmlrpclib import ServerProxy
from base64 import encodestring, decodestring
from multiprocessing import Process, Array
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic
DAEMON = True
......
......@@ -45,7 +45,7 @@ from cloudooo.interfaces.monitor import IMonitor
from cloudooo.interfaces.granulate import ITableGranulator, \
IImageGranulator, \
ITextGranulator
from cloudooo.handler.tests.handlerTestCase import make_suite
from cloudooo.tests.handlerTestCase import make_suite
class TestInterface(unittest.TestCase):
......
......@@ -28,7 +28,7 @@
from xmlrpclib import ServerProxy
from base64 import encodestring, decodestring
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
import magic
from pkg_resources import resource_filename
......
......@@ -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.mimemapper import MimeMapper
......
......@@ -27,7 +27,7 @@
##############################################################################
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.memory import MonitorMemory
......
......@@ -32,7 +32,7 @@ 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.handler.tests.handlerTestCase import make_suite
from cloudooo.tests.handlerTestCase import make_suite
OPENOFFICE = True
......
......@@ -28,7 +28,7 @@
from time import sleep
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
OPENOFFICE = True
......
......@@ -30,7 +30,7 @@ import unittest
from time import sleep
from cloudooo.handler.ooo.application.openoffice import openoffice
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
......
......@@ -30,7 +30,7 @@
from zipfile import ZipFile
from StringIO import StringIO
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
......
......@@ -29,7 +29,7 @@
import magic
from os import path
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.application.openoffice import openoffice
import os
......
......@@ -28,7 +28,7 @@
from zipfile import ZipFile
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
......
......@@ -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.util.util import waitStopDaemon
......
......@@ -30,7 +30,7 @@ from os.path import join, exists
from os import remove
from xmlrpclib import ServerProxy, Fault
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 StringIO import StringIO
from lxml import etree
......
......@@ -31,7 +31,7 @@ import magic
import pkg_resources
from subprocess import Popen, PIPE
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.document import FileSystemDocument
......
......@@ -31,7 +31,7 @@ import pkg_resources
from cloudooo.handler.ooo.application.openoffice import openoffice
from subprocess import Popen, PIPE
from os import environ, path
from cloudooo.handler.tests.handlerTestCase import HandlerTestCase, make_suite
from cloudooo.tests.handlerTestCase import HandlerTestCase, make_suite
OPENOFFICE = True
......
......@@ -29,7 +29,7 @@
import unittest
import logging
from cloudooo.util import util
from cloudooo.handler.tests.handlerTestCase import make_suite
from cloudooo.tests.handlerTestCase import make_suite
import mimetypes
......
......@@ -27,7 +27,7 @@
#
##############################################################################
from cloudooo.handler.tests import runHandlerUnitTest
from cloudooo.tests import runHandlerUnitTest
def run():
......
......@@ -28,7 +28,7 @@
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
......
......@@ -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 os.path import join
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