diff options
author | Will Woods <wwoods@redhat.com> | 2007-08-30 18:47:07 -0400 |
---|---|---|
committer | Will Woods <wwoods@redhat.com> | 2007-08-30 18:47:07 -0400 |
commit | da08b9a9e40eddd241783245e0ed4e92ca9cb13c (patch) | |
tree | 2b8fc0706ac032b1ad14ca47c112fb6214faad64 /selftest.py | |
parent | 94b0598a01563937c443d78a312b69cc2c054a7a (diff) | |
download | python-bugzilla-da08b9a9e40eddd241783245e0ed4e92ca9cb13c.tar.gz python-bugzilla-da08b9a9e40eddd241783245e0ed4e92ca9cb13c.tar.xz python-bugzilla-da08b9a9e40eddd241783245e0ed4e92ca9cb13c.zip |
cleanups
Diffstat (limited to 'selftest.py')
-rwxr-xr-x | selftest.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/selftest.py b/selftest.py index 0ae8ba4..a7fbe57 100755 --- a/selftest.py +++ b/selftest.py @@ -23,15 +23,16 @@ def selftest(): print "Reading product list" print b.products() print "Reading public bug (#%i)" % public_bug - print b.getbug(public_bug) + print b.getbugsimple(public_bug) print "Reading private bug (#%i)" % private_bug try: - print b.getbug(private_bug) + print b.getbugsimple(private_bug) except xmlrpclib.Fault, e: if 'NotPermitted' in e.faultString: print "Failed: Not authorized." else: print "Failed: Unknown XMLRPC error: %s" % e + print "Awesome. We're done." if __name__ == '__main__': selftest() |