RDFLib/rdflib — Issue #48: test/parser_rdfcore.py
Author: gjhiggins
Created: 2012-02-20 08:31:24+00:00
State: open

stephen....@gmail.com, 2009-02-18T21:43:43.000Z

Running test/parser_rdfcore.py does this in the setUp:

manifest.load("http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf")

Which has the net effect of downloading a file off the internet to run the
test. This isn't very optimal for people running the unit tests, we should
have a copy, or a subset of this file, in the test repository instead of
downloading it each time we run the tests.

Comment 1 by eik...@gmail.com

Comment 2 by lindstr...@gmail.com
We could build upon the simple solution in "test/rdfa/run_w3c_rdfa_testsuite.py" (the
"cached_file" function) to make a generic "download remote test data" piece. Most/all of
those could be checked in (unless the size becomes unwieldy).

To centralize this would make it easier to oversee and manage such dependencies.

Comment 3 by gromgull
This issue was closed by revision r1777.

Comment 4 by gromgull
This issue was closed by revision 8a52de8585b3.