The script supports SSL, just give it an HTTPS URI and it
will do the right thing. As for basic/digest credentials
I should add them as a command line parameter. In
the short term you can just add them to the script directly,
like in this patch:

Index: appclienttest.py
===================================================================
--- appclienttest.py    (revision 543)
+++ appclienttest.py    (working copy)
@@ -124,8 +124,8 @@
                 self.report(InternalErrorEncountered(str(e)))

 h = httplib2.Http(".cache")
+h.add_credentals('name', 'password')

-
 CONTENT_WITH_SRC = """<?xml version="1.0" encoding="utf-8"?>
 <entry xmlns="http://www.w3.org/2005/Atom";>
   <title>This is a title</title>

  -joe

On 3/12/06, James M Snell <[EMAIL PROTECTED]> wrote:
> Sounds good. Quick question: does it support basic auth w/ ssl?
>
> - James
>
> Joe Gregorio wrote:
> > I have added the APP Test Suite to the Feed Validator subversion
> > repository. This is a Python script that, when passed in the
> > URI of an Introspection document, will test each entry collection
> > for conformance to the APP. To run it you will
> > need Python 2.3 or greater.
> >
> > To get the source:
> >
> >   $ svn co 
> > https://svn.sourceforge.net/svnroot/feedvalidator/trunk/apptestsuite/
> > apptestsuite
> >
> > To run:
> >
> >   $ cd apptestsuite/client
> >   $ python appclienttest.py\
> > http://bitworking.org/projects/pyapp/collection.cgi?introspection=1
> >
> > Atom Client Tests
> > -----------------
> >
> > Testing the service at
> > <http://bitworking.org/projects/pyapp/collection.cgi?introspection=1>
> > Running:  . . . . . . . .
> > == Errors ==
> >   No problems found.
> > == Warnings ==
> >   No problems found.
> > == Suggestions ==
> >   No problems found.
> > Success!
> >
> > The test suite incorporates the feedvalidator to test all responses
> > for conformance to the Atom Syndication Format. It also uses
> > the httplib2 client library. Through the magic of
> > subversions svn:externals property, local copies of both of
> > these libraries will be automatically pulled down when you check out
> > apptestsuite.
> >
> >    Thanks,
> >    -joe
> >
> > --
> > Joe Gregorio        http://bitworking.org
> >
> >
>


--
Joe Gregorio        http://bitworking.org

Reply via email to