Browse Source

[2025] Change syntax to fix cmdctl port handling in lettuce

Mukund Sivaraman 13 years ago
parent
commit
d249e34178
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/lettuce/features/terrain/bind10_control.py

+ 2 - 2
tests/lettuce/features/terrain/bind10_control.py

@@ -306,8 +306,8 @@ def config_remove_command(step, name, value, cmdctl_port):
                 "quit"]
     run_bindctl(commands, cmdctl_port)
 
-@step('send bind10 the command (.+)(?: with cmdctl port (\d+))?')
-def send_command(step, command, cmdctl_port):
+@step('send bind10(?: with cmdctl port (\d+))? the command (.+)')
+def send_command(step, cmdctl_port, command):
     """
     Run bindctl, send the given command, and exit bindctl.
     Parameters: