Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
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
Douglas
slapos
Commits
e521131d
Commit
e521131d
authored
Jul 26, 2011
by
Priscila Manhaes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed for not confusing with erp5's rununittest
parent
cbb9d30b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
slapos/recipe/cloudoootestnode/__init__.py
slapos/recipe/cloudoootestnode/__init__.py
+2
-2
slapos/recipe/cloudoootestnode/testnode.py
slapos/recipe/cloudoootestnode/testnode.py
+2
-1
No files found.
slapos/recipe/cloudoootestnode/__init__.py
View file @
e521131d
...
@@ -138,9 +138,9 @@ password %(password)s
...
@@ -138,9 +138,9 @@ password %(password)s
interpreter
=
'python'
))
interpreter
=
'python'
))
def
installLocalRunUnitTest
(
self
):
def
installLocalRunUnitTest
(
self
):
link
=
os
.
path
.
join
(
self
.
bin_directory
,
'runUnitTest'
)
link
=
os
.
path
.
join
(
self
.
bin_directory
,
'run
Cloudooo
UnitTest'
)
destination
=
os
.
path
.
join
(
CONFIG
[
'instance_root'
],
destination
=
os
.
path
.
join
(
CONFIG
[
'instance_root'
],
CONFIG
[
'partition_reference'
],
'bin'
,
'runUnitTest'
)
CONFIG
[
'partition_reference'
],
'bin'
,
'run
Cloudooo
UnitTest'
)
if
os
.
path
.
lexists
(
link
):
if
os
.
path
.
lexists
(
link
):
if
not
os
.
readlink
(
link
)
!=
destination
:
if
not
os
.
readlink
(
link
)
!=
destination
:
os
.
unlink
(
link
)
os
.
unlink
(
link
)
...
...
slapos/recipe/cloudoootestnode/testnode.py
View file @
e521131d
...
@@ -84,7 +84,7 @@ def run(args):
...
@@ -84,7 +84,7 @@ def run(args):
if
profile_content
is
None
:
if
profile_content
is
None
:
profile_content
=
"""
profile_content
=
"""
[buildout]
[buildout]
extends = /home/slap/
slapconfig/cloudooos
.cfg
extends = /home/slap/
config/cloudooo
.cfg
"""
"""
#extends = %(software_config_path)s
#extends = %(software_config_path)s
#""" % {'software_config_path': os.path.join(repository_path,
#""" % {'software_config_path': os.path.join(repository_path,
...
@@ -207,6 +207,7 @@ branch = %(branch)s
...
@@ -207,6 +207,7 @@ branch = %(branch)s
partition_path
=
os
.
path
.
join
(
config
[
'instance_root'
],
partition_path
=
os
.
path
.
join
(
config
[
'instance_root'
],
config
[
'partition_reference'
])
config
[
'partition_reference'
])
run_test_suite_path
=
os
.
path
.
join
(
partition_path
,
'bin'
,
run_test_suite_path
=
os
.
path
.
join
(
partition_path
,
'bin'
,
'runCloudoooUnitTest'
)
'runTestSuite'
)
'runTestSuite'
)
if
not
os
.
path
.
exists
(
run_test_suite_path
):
if
not
os
.
path
.
exists
(
run_test_suite_path
):
raise
ValueError
(
'No %r provided'
%
run_test_suite_path
)
raise
ValueError
(
'No %r provided'
%
run_test_suite_path
)
...
...
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