From: Mukund Sivaraman Date: Wed, 11 Apr 2012 07:37:18 +0000 (+0530) Subject: [1818] Use different function names for stderr and stdout waiters X-Git-Tag: trac2351_base~226^2~116^2~34^2~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=837533a24607e825f2dc72f7fb45665c4e8aec99;p=thirdparty%2Fkea.git [1818] Use different function names for stderr and stdout waiters --- diff --git a/tests/lettuce/features/terrain/steps.py b/tests/lettuce/features/terrain/steps.py index 4b199d6efd..4e43ca8b04 100644 --- a/tests/lettuce/features/terrain/steps.py +++ b/tests/lettuce/features/terrain/steps.py @@ -31,7 +31,7 @@ def stop_a_named_process(step, process_name): world.processes.stop_process(process_name) @step('wait for (new )?(\w+) stderr message (\w+)(?: not (\w+))?') -def wait_for_message(step, new, process_name, message, not_message): +def wait_for_stderr_message(step, new, process_name, message, not_message): """ Block until the given message is printed to the given process's stderr output. @@ -51,7 +51,7 @@ def wait_for_message(step, new, process_name, message, not_message): assert found != not_message, line @step('wait for (new )?(\w+) stdout message (\w+)(?: not (\w+))?') -def wait_for_message(step, process_name, message, not_message): +def wait_for_stdout_message(step, process_name, message, not_message): """ Block until the given message is printed to the given process's stdout output.