head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.52 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.50 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.48 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.46 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.44 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.42 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.40 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.38 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.36 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.34 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.32 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.30 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.28 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.26 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.24 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.22 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.20 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.18 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.16 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.14 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.12 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.10 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.3.0.8 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2; locks; strict; comment @# @; 1.3 date 2004.03.03.10.27.17; author recht; state dead; branches; next 1.2; 1.2 date 2003.08.11.22.08.34; author recht; state Exp; branches; next 1.1; 1.1 date 2003.03.19.11.55.11; author drochner; state Exp; branches; next ; desc @@ 1.3 log @update to 0.6 - use tar.gz instead of zip to avoid extra dependency - use new project homepage - enable install of fallback SOAP library 0.6 of 02/24/2004 - support the latest SOAPpy release, fallback to included version if it's not found, or is a version that's known to be buggy. - epydoc API documentation - quite a bit of refactoring - make some functions and classes that SHOULD be private, actually private - formatting cleanup @ text @$NetBSD: patch-ab,v 1.2 2003/08/11 22:08:34 recht Exp $ --- googletest.py.orig 2002-04-18 22:11:18.000000000 +0200 +++ googletest.py 2003-05-31 12:23:19.000000000 +0200 @@@@ -6,7 +6,9 @@@@ __copyright__ = "Copyright (c) 2002 Mark Pilgrim" __license__ = "Python" -import google, SOAP +import google +from SOAPpy import SOAPProxy +from SOAPpy import Types import unittest import sys, os from StringIO import StringIO @@@@ -251,33 +253,33 @@@@ self.assertRaises(google.NoLicenseKey, google.doGoogleSearch, q=self.q) def testPassInvalidKey(self): - """passing invalid license key should fail with SOAP.faultType""" - self.assertRaises(SOAP.faultType, google.doGoogleSearch, q=self.q, license_key=self.badkey) + """passing invalid license key should fail with Types.faultType""" + self.assertRaises(Types.faultType, google.doGoogleSearch, q=self.q, license_key=self.badkey) def testSetInvalidKey(self): - """setting invalid module-level license key should fail with SOAP.faultType""" + """setting invalid module-level license key should fail with Types.faultType""" google.setLicense(self.badkey) - self.assertRaises(SOAP.faultType, google.doGoogleSearch, q=self.q) + self.assertRaises(Types.faultType, google.doGoogleSearch, q=self.q) def testEnvInvalidKey(self): - """invalid environment variable license key should fail with SOAP.faultType""" + """invalid environment variable license key should fail with Types.faultType""" os.environ[self.envkey] = self.badkey - self.assertRaises(SOAP.faultType, google.doGoogleSearch, q=self.q) + self.assertRaises(Types.faultType, google.doGoogleSearch, q=self.q) def testHomeDirKey(self): - """invalid license key in home directory should fail with SOAP.faultType""" + """invalid license key in home directory should fail with Types.faultType""" self.createfile(os.environ["HOME"], self.licensefile, self.badkey) - self.assertRaises(SOAP.faultType, google.doGoogleSearch, q=self.q) + self.assertRaises(Types.faultType, google.doGoogleSearch, q=self.q) def testCurDirKey(self): - """invalid license key in current directory should fail with SOAP.faultType""" + """invalid license key in current directory should fail with Types.faultType""" self.createfile("", self.licensefile, self.badkey) - self.assertRaises(SOAP.faultType, google.doGoogleSearch, q=self.q) + self.assertRaises(Types.faultType, google.doGoogleSearch, q=self.q) def testScriptDirKey(self): - """invalid license key in script directory should fail with SOAP.faultType""" + """invalid license key in script directory should fail with Types.faultType""" self.createfile(google._getScriptDir(), self.licensefile, self.badkey) - self.assertRaises(SOAP.faultType, google.doGoogleSearch, q=self.q) + self.assertRaises(Types.faultType, google.doGoogleSearch, q=self.q) if __name__ == "__main__": unittest.main() @ 1.2 log @Fix this for the SOAPpy 0.10.1 update. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1 2003/03/19 11:55:11 drochner Exp $ @ 1.1 log @make this work with SOAPpy-0.9.8 and bumb PKGREVISION because it only works with 0.9.8 now @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- googletest.py.orig 2003-03-19 10:52:18.000000000 +0100 +++ googletest.py 2003-03-19 10:52:53.000000000 +0100 @@@@ -6,7 +6,8 @@@@ d11 2 a12 1 +from SOAPpy import SOAP d16 46 @