Ñò 4Mc @sddkZddkZddkZddklZddklZddklZlZdZ dZ dZ di ƒZ d eifd „ƒYZyddkZWnOeid ƒx<eiiƒD]'Zeid ƒoeeeƒqÄqÄWnXed joeiƒndS(iÿÿÿÿN(t foaf2config(t ConfigParser(tconfigtloggerstests/work/config/caches?http://journal.dajobe.org/journal/2003/07/semblogs/bloggers.rdfshttp://dannyayers.com/feed/rdfs¢ Danny Ayers Raw Blog by Danny Ayers tFoafTestcBsheZdZd„Zd„Zd„Zd„Zd„Zd„Zd„Z d„Z d „Z d „Z RS( s' Test the foaf2config function cCs tƒ|_|iitƒdS(N(RRt add_sectiontblogroll(tself((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pytsetUp/s cCsEtiitƒo.titƒtitiitƒdƒndS(Ni(tostpathtexiststworkdirtshutiltrmtreet removedirstsplit(R((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttearDown3s cCs3tt|iƒ|id|iitdƒƒdS(Ns Danny Ayerstname(Rttest_foaf_documentRt assertEqualtgetttestfeed(R((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyR<scCsEtiddƒ}t||iƒ|id|iitdƒƒdS(Ns foaf:names foaf:titlesRaw Blog by Danny AyersR(RtreplaceRRRRR(Rttest((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttest_no_foaf_name@s cCs?tiddƒ}t||iƒ|i|iitƒƒdS(Ns rdfs:seeAlsos rdfs:seealso(RRRRt assertFalset has_sectionR(RR((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttest_no_weblogFscCs7dt}t||iƒ|i|iitƒƒdS(Ns' (RRRRRR(RR((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttest_invalid_xml_beforeKs cCsCtiƒd }t||iƒ|id|iitdƒƒdS(Niÿÿÿÿs Danny AyersR(RtstripRRRRR(RR((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttest_invalid_xml_afterPscCsDtidƒtiƒ}|iƒ|iddddg|ƒdS(Nstests/data/config/foaf.inis%http://api.flickr.com/services/feeds/s!photos_public.gne?id=77366516@N00shttp://del.icio.us/rss/eliastshttp://torrez.us/feed/rdf(Rtloadt subscriptionstsortR(Rtfeeds((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttest_online_accountsUs    cCs€tidƒ|idttiƒƒƒtiƒ}|iƒ|idt|ƒƒ|iddddddd g|ƒdS( Ns#tests/data/config/foaf-multiple.iniiis%http://api.flickr.com/services/feeds/s!photos_public.gne?id=77366516@N00sphotos_public.gne?id=SOMEIDshttp://del.icio.us/rss/SOMEIDshttp://del.icio.us/rss/eliastshttp://torrez.us/feed/rdf(RR Rtlent reading_listsR!R"(RR#((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttest_multiple_subscriptions^s    cCsLtidƒtiƒ}|iƒ|idddddddg|ƒdS( Nstests/data/config/foaf-deep.inisFhttp://api.flickr.com/services/feeds/photos_public.gne?id=77366516@N00shttp://del.icio.us/rss/eliastshttp://del.icio.us/rss/leefshttp://del.icio.us/rss/rubyss%http://intertwingly.net/blog/atom.xmls(http://thefigtrees.net/lee/life/atom.xmlshttp://torrez.us/feed/rdf(RR R!R"R(RR#((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyttest_recursivels    ( t__name__t __module__t__doc__RRRRRRRR$R'R((((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyR*s       s=Redland RDF is not available => can't test FOAF reading liststtest_t__main__(tunittestR R t planet.foafRRtplanetRRR RRRRtTestCaseRtRDFtwarnt__dict__tkeystkeyt startswithtdelattrR)tmain(((s</home/sa3ruby/intertwingly.net/code/venus/tests/test_foaf.pyts$$ M