summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorKrzysztof A. Adamski <krzysztofa@gmail.com>2008-06-06 18:14:01 -0400
committerKrzysztof A. Adamski <krzysztofa@gmail.com>2008-06-06 18:14:01 -0400
commit2d23caf2f9e96022dd49781bc00c351dcab7c10c (patch)
treea1c6623984398506ce593ba6a8267b0be39acf7c /test
parent3f62e1d302fb63f1f3c5c72121388c8b0dd6e784 (diff)
downloadthird_party-func-2d23caf2f9e96022dd49781bc00c351dcab7c10c.tar.gz
third_party-func-2d23caf2f9e96022dd49781bc00c351dcab7c10c.tar.xz
third_party-func-2d23caf2f9e96022dd49781bc00c351dcab7c10c.zip
Jobthing status codes cleanup.
Diffstat (limited to 'test')
-rw-r--r--test/async_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/async_test.py b/test/async_test.py
index 8e6961d..8e0495f 100644
--- a/test/async_test.py
+++ b/test/async_test.py
@@ -44,12 +44,12 @@ def __tester(async,test):
return
if code == jobthing.JOB_ID_RUNNING:
print "task is still running, %s elapsed ..." % delta
- elif code == jobthing.JOB_ID_ASYNC_PARTIAL:
+ elif code == jobthing.JOB_ID_PARTIAL:
print "task reports partial status, %s elapsed, results = %s" % (delta, results)
elif code == jobthing.JOB_ID_FINISHED:
print "(non-async) task complete, %s elapsed, results = %s" % (delta, results)
return
- elif code == jobthing.JOB_ID_ASYNC_FINISHED:
+ elif code == jobthing.JOB_ID_FINISHED:
print "(async) task complete, %s elapsed, results = %s" % (delta, results)
return
else: