Commit c77c82a9 authored by Gabriel Monnerat's avatar Gabriel Monnerat

remove attributes and imports not used

parent 8372e5d0
......@@ -59,7 +59,6 @@ class TestAllFormats(TestCase):
"""Generic test for converting all formats"""
request = {'document_type': document_type}
extension_list = self.proxy.getAllowedExtensionList(request)
fault_list = []
for extension in extension_list:
self._testConvertFile(input_url, source_format, extension[0], None)
......
......@@ -35,6 +35,7 @@ from types import DictType
from zipfile import ZipFile, is_zipfile
from cloudooo.tests.cloudoooTestCase import TestCase, make_suite
from cloudooo.tests.backportUnittest import skip
import magic
class TestServer(TestCase):
......
......@@ -113,7 +113,6 @@ class TestCase(unittest.TestCase):
_testMethodDoc = property(lambda self: self.__testMethodDoc)
def run(self, result=None):
orig_result = result
if result is None:
result = self.defaultTestResult()
# BACK: Not necessary for Python < 2.7:
......
......@@ -27,7 +27,6 @@
##############################################################################
import unittest
import sys
from os import environ, path
from ConfigParser import ConfigParser
from xmlrpclib import ServerProxy, Fault
......
......@@ -10,7 +10,6 @@ from argparse import ArgumentParser
from os import chdir, path, environ, curdir, remove
from glob import glob
import psutil
from cloudooo.handler.ooo.util import socketStatus
from signal import SIGQUIT
......
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