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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cloudooo
Commits
94e01992
Commit
94e01992
authored
Jun 10, 2011
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix text detection.
parent
8c0efdc7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
cloudooo/tests/runHandlerUnitTest.py
cloudooo/tests/runHandlerUnitTest.py
+3
-1
No files found.
cloudooo/tests/runHandlerUnitTest.py
View file @
94e01992
...
@@ -53,13 +53,15 @@ def run():
...
@@ -53,13 +53,15 @@ def run():
python_extension
=
'.py'
python_extension
=
'.py'
if
test_name
[
-
3
:]
==
python_extension
:
if
test_name
[
-
3
:]
==
python_extension
:
test_name
=
test_name
[:
-
3
]
test_name
=
test_name
[:
-
3
]
handler_path
=
None
for
env_handler_path
in
environment_path
:
for
env_handler_path
in
environment_path
:
full_path
=
path
.
join
(
env_handler_path
,
'%s%s'
%
(
test_name
,
full_path
=
path
.
join
(
env_handler_path
,
'%s%s'
%
(
test_name
,
python_extension
))
python_extension
))
if
path
.
exists
(
full_path
):
if
path
.
exists
(
full_path
):
handler_path
=
env_handler_path
handler_path
=
env_handler_path
break
break
else
:
if
handler_path
is
None
:
exit
(
"%s does not exists
\
n
"
%
full_path
)
exit
(
"%s does not exists
\
n
"
%
full_path
)
from
cloudooo.tests.handlerTestCase
import
startFakeEnvironment
from
cloudooo.tests.handlerTestCase
import
startFakeEnvironment
...
...
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