Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
cloudooo
Commits
c77c82a9
Commit
c77c82a9
authored
Jun 17, 2011
by
Gabriel Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove attributes and imports not used
parent
8372e5d0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
4 deletions
+1
-4
cloudooo/handler/ooo/tests/testOooAllFormat.py
cloudooo/handler/ooo/tests/testOooAllFormat.py
+0
-1
cloudooo/handler/ooo/tests/testOooServer.py
cloudooo/handler/ooo/tests/testOooServer.py
+1
-0
cloudooo/tests/backportUnittest.py
cloudooo/tests/backportUnittest.py
+0
-1
cloudooo/tests/cloudoooTestCase.py
cloudooo/tests/cloudoooTestCase.py
+0
-1
cloudooo/tests/runHandlerUnitTest.py
cloudooo/tests/runHandlerUnitTest.py
+0
-1
No files found.
cloudooo/handler/ooo/tests/testOooAllFormat.py
View file @
c77c82a9
...
@@ -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
)
...
...
cloudooo/handler/ooo/tests/testOooServer.py
View file @
c77c82a9
...
@@ -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
):
...
...
cloudooo/tests/backportUnittest.py
View file @
c77c82a9
...
@@ -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:
...
...
cloudooo/tests/cloudoooTestCase.py
View file @
c77c82a9
...
@@ -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
...
...
cloudooo/tests/runHandlerUnitTest.py
View file @
c77c82a9
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment