Open lu-pl opened 3 months ago
A basic draft of a mock context for targeting a local rdflib.Graph
instance with SPARQLWrapper
can be found here.
A new version of the SPARQLWrapperLocalTarget
mocking functionality is available (latest).
This is not fully generic yet, but should suffice for mocking SPARQLWrapper
SELECT queries against local rdflib.Graph
instances.
This issue should also entail the implementation of basic end-to-end tests.
Tests targeting an actual remote triplestore are a source of flaky and/or slow tests.
Mocking SPARQLWrapper would be a solution for that and also potentially generally useful.