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