From: W. Trevor King Date: Thu, 21 Oct 2010 01:36:25 +0000 (-0700) Subject: Relax command-not-found doctest messages. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c6a473029f558d52582960bf1f7e6f05fe9d8d05;p=sawsim.git Relax command-not-found doctest messages. --- diff --git a/pysawsim/manager/__init__.py b/pysawsim/manager/__init__.py index 71d591c..5e032f1 100644 --- a/pysawsim/manager/__init__.py +++ b/pysawsim/manager/__init__.py @@ -139,17 +139,17 @@ class InvokeJob (Job): >>> j = InvokeJob(id=3, target='missing_command') >>> j.run() - >>> print j.status + >>> print j.status # doctest: +ELLIPSIS Command failed (127): - /bin/sh: missing_command: command not found + /bin/sh: missing_command: ...not found while executing missing_command >>> j.data['stdout'] '' - >>> j.data['stderr'] - '/bin/sh: missing_command: command not found\\n' + >>> j.data['stderr'] # doctest: +ELLIPSIS + '/bin/sh: missing_command: ...not found\\n' """ def run(self): try: