This is an automated email from the ASF dual-hosted git repository.

jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git

commit 1f2c2522f418398a20c8b7ee2c86c489a2742cb5
Author: Jiri Danek <jda...@redhat.com>
AuthorDate: Fri Jul 23 13:11:27 2021 +0200

    NO-JIRA Minor cleanup of test Process#__init__()
---
 tests/system_test.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/tests/system_test.py b/tests/system_test.py
index 1f7b4ea..01cb585 100755
--- a/tests/system_test.py
+++ b/tests/system_test.py
@@ -247,7 +247,7 @@ class Process(subprocess.Popen):
     def __init__(self, args, name=None, expect=EXIT_OK, **kwargs):
         """
         Takes same arguments as subprocess.Popen. Some additional/special args:
-        @param expect: Raise error if process staus not as expected at end of 
test:
+        @param expect: Raise error if process status not as expected at end of 
test:
             L{RUNNING} - expect still running.
             L{EXIT_OK} - expect process to have terminated with 0 exit status.
             L{EXIT_FAIL} - expect process to have terminated with exit status 
1.
@@ -256,7 +256,8 @@ class Process(subprocess.Popen):
         @keyword stderr: Defaults to be the same as stdout
         """
         self.name = name or os.path.basename(args[0])
-        self.args, self.expect = args, expect
+        self.args = args
+        self.expect = expect
         self.outdir = os.getcwd()
         self.outfile = os.path.abspath(self.unique(self.name))
         self.torndown = False

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to