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
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
Eric Zheng
slapos
Commits
22584985
Commit
22584985
authored
May 07, 2018
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! fixup! proftpd: instance test suite
fix all getInstanceParameterDict typos
parent
a4c16900
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
software/proftpd/test/utils.py
software/proftpd/test/utils.py
+2
-2
No files found.
software/proftpd/test/utils.py
View file @
22584985
...
@@ -138,7 +138,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
...
@@ -138,7 +138,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
# TODO: log more details in this case
# TODO: log more details in this case
assert
software_status_dict
[
'status_code'
]
==
0
assert
software_status_dict
[
'status_code'
]
==
0
instance_parameter_dict
=
cls
.
getInstanceParmeterDict
()
instance_parameter_dict
=
cls
.
getInstancePar
a
meterDict
()
instance_status_dict
=
slapos_controler
.
runComputerPartition
(
instance_status_dict
=
slapos_controler
.
runComputerPartition
(
config
,
config
,
cluster_configuration
=
instance_parameter_dict
,
cluster_configuration
=
instance_parameter_dict
,
...
@@ -157,7 +157,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
...
@@ -157,7 +157,7 @@ class SlapOSInstanceTestCase(unittest.TestCase):
partition_parameter_kw
=
instance_parameter_dict
))
partition_parameter_kw
=
instance_parameter_dict
))
# expose some class attributes so that tests can use them:
# expose some class attributes so that tests can use them:
# the ComputerPartition instances, to getInstanceParmeterDict
# the ComputerPartition instances, to getInstancePar
a
meterDict
cls
.
computer_partition
=
computer_partition_list
[
0
]
cls
.
computer_partition
=
computer_partition_list
[
0
]
# the path of the instance on the filesystem, for low level inspection
# the path of the instance on the filesystem, for low level inspection
...
...
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