]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1818] Use different function names for stderr and stdout waiters
authorMukund Sivaraman <muks@isc.org>
Wed, 11 Apr 2012 07:37:18 +0000 (13:07 +0530)
committerMukund Sivaraman <muks@isc.org>
Sun, 15 Apr 2012 09:33:57 +0000 (15:03 +0530)
tests/lettuce/features/terrain/steps.py

index 4b199d6efd8969c98b0ccc89ebe1ab242ee7c4b4..4e43ca8b04188d3417b2ea5f016e7a56d20deccb 100644 (file)
@@ -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.