]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2025] Change syntax to fix cmdctl port handling in lettuce
authorMukund Sivaraman <muks@isc.org>
Thu, 21 Jun 2012 09:18:55 +0000 (14:48 +0530)
committerMukund Sivaraman <muks@isc.org>
Thu, 21 Jun 2012 09:18:55 +0000 (14:48 +0530)
tests/lettuce/features/terrain/bind10_control.py

index a08a887ca45061a569b55e8ac8aa7d229a845fc3..248c6ecf068932cca25f0acc341e626b9f94bcae 100644 (file)
@@ -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: