Venus Run Tests fails with error in Foaf Test
Dave Levy
david-levy at btconnect.com
Fri Jan 9 11:19:24 EST 2009
As I said I there's a lot to go wrong in what I am trying so I got a
friend, Dave Edmondsen to run the same tests on his native Ubuntu
machine and he got the same result.
He proposed a change to test/data/config/eliast.foaf, which I have now
tested
this is the output of diff new old
21c21
< <rdfs:seeAlso rdf:resource="tests/data/config/ldf-card.foaf"/>
---
> <rdfs:seeAlso rdf:resource="ldf-card.foaf"/>
28c28
< <rdfs:seeAlso
rdf:resource="tests/data/config/rubys-card.foaf"/>
---
> <rdfs:seeAlso rdf:resource="rubys-card.foaf"/>
we made the subdirectory path to the test data explicit. I may think
about how to keep this as abstracted but the test log now looks like this
..............................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 222 tests in 9.451s
OK
Looks like a bug in the test programs.
Sam Ruby wrote:
> Dave Levy wrote:
>> I have tried to install Venus on Ubuntu Linux 8.04 running on a Sun's
>> xVM Virtual Box with a Windows host.
>>
>> I realise there's a lot to go wrong but the error messages come from
>> runtests.py so I think I need to start here.
>>
>> I get an Assertion Error test_recursive
>> (tests.test_foaf.py.FoafTest). It identifies the last line of the
>> function as the failing statement.
>>
>> .......................................................................................................................................................................................F......................................
>>
>> ======================================================================
>> FAIL: test_recursive (tests.test_foaf.FoafTest)
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> File "/home/planet/tests/test_foaf.py", line 116, in test_recursive
>> 'http://torrez.us/feed/rdf'], feeds)
>> AssertionError:
>> ['http://api.flickr.com/services/feeds/photos_public.gne?id=77366516@N00',
>> 'http://del.icio.us/rss/eliast', 'http://del.icio.us/rss/leef',
>> 'http://del.icio.us/rss/rubys',
>> 'http://intertwingly.net/blog/atom.xml',
>> 'http://thefigtrees.net/lee/life/atom.xml',
>> 'http://torrez.us/feed/rdf'] !=
>> ['http://api.flickr.com/services/feeds/photos_public.gne?id=77366516@N00',
>> 'http://del.icio.us/rss/eliast', 'http://torrez.us/feed/rdf']
>>
>> ----------------------------------------------------------------------
>> Ran 222 tests in 9.501s
>>
>> FAILED (failures=1)
>>
>> I got the Venus Code from intertwingly,
>> http://www.intertwingly.net/code/venus.zip by downloading the ZIP
>> file, for some reason bzr wouldn't work or was taking huge amounts of
>> time and I got impatient.
>> Python Version 2.5.2
>> I installed Redland RDF using the Package Manager, I think the source
>> is Ubuntu, not the redland repository.
>>
>> Any ideas?
>
> When I run, I get
>
>> $ python runtests.py Redland RDF is not available => can't test FOAF
>> reading lists
>> ......................................................................................................................................................................................................................
>>
>> ----------------------------------------------------------------------
>> Ran 214 tests in 5.673s
>
> (translation: since I don't currently have Redland RDF installed, I
> don't run that test).
>
> At this point, I'm tempted to remove or at least disable the FOAF
> functionality as it is unmaintained.
>
> - Sam Ruby
>
--
--
Dave
David Levy
Private & Confidential: This e-mail is intended for the addressee only.
If you are not an addressee, you have no rights to use the information
contained in this letter. Please destroy and notify me that an error
delivery has occurred.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /archives/devel/attachments/20090109/7f101a48/attachment.htm
More information about the devel
mailing list