diff options
author | Will Woods <wwoods@redhat.com> | 2007-09-13 16:23:09 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2007-09-13 16:23:09 -0400 |
commit | 8913fbd7e9441396b3df285401cd50d1f56fadef (patch) | |
tree | 69139d82fd8b18ed841a673103df97d721c4e497 /selftest.py | |
parent | a2c7f115e34058ce74b3984fd94c73f6fb3b2be5 (diff) | |
download | python-bugzilla-8913fbd7e9441396b3df285401cd50d1f56fadef.tar.gz python-bugzilla-8913fbd7e9441396b3df285401cd50d1f56fadef.tar.xz python-bugzilla-8913fbd7e9441396b3df285401cd50d1f56fadef.zip |
Add fancy (and probably stupid) multicall interface, implement _updatecc
Diffstat (limited to 'selftest.py')
-rwxr-xr-x | selftest.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/selftest.py b/selftest.py index a130288..aee9759 100755 --- a/selftest.py +++ b/selftest.py @@ -24,7 +24,7 @@ def selftest(user='',password=''): url = 'https://bugzilla.redhat.com/xmlrpc.cgi' public_bug = 1 private_bug = 250666 - bugidlist = (1,2,3) + bugidlist = (1,2,3,1337,123456) query = {'product':'Fedora', 'component':'kernel', 'version':'devel', @@ -63,7 +63,12 @@ def selftest(user='',password=''): query['version'],query['long_desc']) print - print "Reading multiple bugs: %s" % str(bugidlist) + print "Reading multiple bugs, one-at-a-time: %s" % str(bugidlist) + for b in bugidlist: + print bz.getbugsimple(b) + print + + print "Reading multiple bugs, all-at-once: %s" % str(bugidlist) for b in bz.getbugssimple(bugidlist): print b print |