From c6a473029f558d52582960bf1f7e6f05fe9d8d05 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 20 Oct 2010 18:36:25 -0700 Subject: [PATCH] Relax command-not-found doctest messages. --- pysawsim/manager/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.26.2