Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
54d84160
Commit
54d84160
authored
Nov 14, 2011
by
Jelte Jansen
Browse files
[1292] fix docstring of send_command
parent
46c206ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/lettuce/features/terrain/bind10_control.py
View file @
54d84160
...
...
@@ -123,10 +123,9 @@ def set_config_command(step, name, value, cmdctl_port):
@
step
(
'send bind10 the command (.+)(?: with cmdctl port (\d+))?'
)
def
send_command
(
step
,
command
,
cmdctl_port
):
"""
Run bindctl, se
t
the given co
nfiguration to the given value, and commit it
.
Run bindctl, se
nd
the given co
mmand, and exit bindctl
.
Parameters:
name ('configuration <name>'): Identifier of the configuration to set
value ('to <value>'): value to set it to.
command ('the command <command>'): The command to send.
cmdctl_port ('with cmdctl port <portnr>', optional): cmdctl port to send
the command to. Defaults to 47805.
Fails if cmdctl does not exit with status code 0.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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