summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-01-29 16:19:30 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-01-29 16:19:30 -0500
commitb3c5591d70c1c354d14267e804ab64872af97b40 (patch)
treea361f4d0ea060df23ffbccf9961f38bb01a65d23 /test
parent1d60f197dab809e9a51c3377587d46370e698c52 (diff)
downloadthird_party-func-b3c5591d70c1c354d14267e804ab64872af97b40.tar.gz
third_party-func-b3c5591d70c1c354d14267e804ab64872af97b40.tar.xz
third_party-func-b3c5591d70c1c354d14267e804ab64872af97b40.zip
All exceptions, async or otherwise, now come back as easily detectable signatures. Use utils.is_error(result)
to determine if something is an error or isn't. Example scripts as well as func-inventory have been updated. See async_test.py for examples.
Diffstat (limited to 'test')
-rw-r--r--test/async_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/async_test.py b/test/async_test.py
index 39a22b1..04f6fd5 100644
--- a/test/async_test.py
+++ b/test/async_test.py
@@ -57,6 +57,8 @@ def __tester(async,test):
time.sleep(1)
else:
print Client("*",nforks=10,async=False).test.sleep(5)
+ print Client("*",nforks=10,async=False).test.bork(5)
+ print Client("*",nforks=1,async=False).test.bork(5)
for t in TESTS:
__tester(True,t)