From: Mukund Sivaraman Date: Thu, 21 Jun 2012 09:18:55 +0000 (+0530) Subject: [2025] Change syntax to fix cmdctl port handling in lettuce X-Git-Tag: trac2351_base~213^2~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d249e34178e27afde1858b28ee7d0e42d847525c;p=thirdparty%2Fkea.git [2025] Change syntax to fix cmdctl port handling in lettuce --- diff --git a/tests/lettuce/features/terrain/bind10_control.py b/tests/lettuce/features/terrain/bind10_control.py index a08a887ca4..248c6ecf06 100644 --- a/tests/lettuce/features/terrain/bind10_control.py +++ b/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: