Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alain Takoudjou
slapos.toolbox
Commits
2de7ba00
Commit
2de7ba00
authored
Mar 07, 2014
by
Nicolas Wavrant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
runner: running tests do not change rcode
parent
08b2c58c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
slapos/runner/runnertest.py
slapos/runner/runnertest.py
+1
-2
No files found.
slapos/runner/runnertest.py
View file @
2de7ba00
...
@@ -70,7 +70,6 @@ class SlaprunnerTestCase(unittest.TestCase):
...
@@ -70,7 +70,6 @@ class SlaprunnerTestCase(unittest.TestCase):
views
.
app
.
config
[
'TESTING'
]
=
True
views
.
app
.
config
[
'TESTING'
]
=
True
self
.
users
=
[
"slapuser"
,
"slappwd"
,
"slaprunner@nexedi.com"
,
"SlapOS web runner"
]
self
.
users
=
[
"slapuser"
,
"slappwd"
,
"slaprunner@nexedi.com"
,
"SlapOS web runner"
]
self
.
updateUser
=
[
"newslapuser"
,
"newslappwd"
,
"slaprunner@nexedi.com"
,
"SlapOS web runner"
]
self
.
updateUser
=
[
"newslapuser"
,
"newslappwd"
,
"slaprunner@nexedi.com"
,
"SlapOS web runner"
]
self
.
rcode
=
"41bf2657"
self
.
repo
=
'http://git.erp5.org/repos/slapos.git'
self
.
repo
=
'http://git.erp5.org/repos/slapos.git'
self
.
software
=
"workspace/slapos/software/"
# relative directory fo SR
self
.
software
=
"workspace/slapos/software/"
# relative directory fo SR
self
.
project
=
'slapos'
# Default project name
self
.
project
=
'slapos'
# Default project name
...
@@ -106,7 +105,7 @@ class SlaprunnerTestCase(unittest.TestCase):
...
@@ -106,7 +105,7 @@ class SlaprunnerTestCase(unittest.TestCase):
#Create password recover code
#Create password recover code
parser
=
ConfigParser
.
ConfigParser
()
parser
=
ConfigParser
.
ConfigParser
()
parser
.
read
(
self
.
app
.
config
[
'knowledge0_cfg'
])
parser
.
read
(
self
.
app
.
config
[
'knowledge0_cfg'
])
parser
.
set
(
'public'
,
'recovery-code'
,
self
.
rcode
)
self
.
rcode
=
parser
.
get
(
'public'
,
'recovery-code'
)
#Create config.json
#Create config.json
json_file
=
os
.
path
.
join
(
views
.
app
.
config
[
'etc_dir'
],
'config.json'
)
json_file
=
os
.
path
.
join
(
views
.
app
.
config
[
'etc_dir'
],
'config.json'
)
if
not
os
.
path
.
exists
(
json_file
):
if
not
os
.
path
.
exists
(
json_file
):
...
...
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