Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cloudooo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
cloudooo
Commits
78c4ce1b
Commit
78c4ce1b
authored
May 29, 2019
by
Boris Kocherov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add disabled logger for tests
parent
0ec77252
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
cloudooo/tests/handlerTestCase.py
cloudooo/tests/handlerTestCase.py
+3
-0
No files found.
cloudooo/tests/handlerTestCase.py
View file @
78c4ce1b
...
...
@@ -29,6 +29,7 @@
import
unittest
import
sys
from
cloudooo
import
util
from
os
import
environ
,
path
,
mkdir
,
putenv
from
ConfigParser
import
ConfigParser
from
cloudooo.handler.ooo.application.openoffice
import
openoffice
...
...
@@ -60,6 +61,8 @@ def startFakeEnvironment(start_openoffice=True, conf_path=None):
hostname
=
config
.
get
(
"server:main"
,
"host"
)
openoffice_port
=
int
(
config
.
get
(
"app:main"
,
"openoffice_port"
))
+
1
office_binary_path
=
config
.
get
(
"app:main"
,
"office_binary_path"
)
if
0
:
util
.
configureLogger
(
debug_mode
=
True
)
environment_dict
=
{}
for
item
in
config
.
options
(
"app:main"
):
if
item
.
startswith
(
"env-"
):
...
...
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