I have the initial skeleton built 
(https://github.com/sa-bpelakh/sparql-endpoint-fixture), but ran into an 
issue with requests_mock 
(see 
https://stackoverflow.com/questions/68655684/mocked-urls-not-being-forward-to-handler-when-using-requests-mock-in-another-fix).
 
I will continue on it as I get bandwidth, still need to add the graph 
protocol functionality as well as figure out how to inject 
externally-provided 'from <graph>' and 'from named <graph>' into queries.

On Tuesday, August 3, 2021 at 6:54:18 AM UTC-4 
[email protected] wrote:

> Hi Boris, I have not done this but I think it would be a very handy thing 
> to have, so count me in on assisting with rebuilding, if noone has one to 
> directly reuse.
>
> Nick
>
> On Tue, Aug 3, 2021 at 12:23 AM Boris Pelakh <[email protected]> wrote:
>
>> I wrote once a pytest fixture 
>> <https://docs.pytest.org/en/6.2.x/fixture.html> that intercepted HTTP 
>> requests and emulated a SPARQL endpoint for use in unit tests using an 
>> in-memory RDFLIB Graph. Unfortunately that code is no longer accessible 
>> (buried inside a proprietary app), and before I reproduced the work, I was 
>> wondering if anyone else has created a similar beast.  
>>
>> -- 
>> http://github.com/RDFLib
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "rdflib-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/rdflib-dev/711590fb-b2c9-42dc-a5a1-cd68860ee335n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/rdflib-dev/711590fb-b2c9-42dc-a5a1-cd68860ee335n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
http://github.com/RDFLib
--- 
You received this message because you are subscribed to the Google Groups 
"rdflib-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rdflib-dev/e9e4866d-61a0-4203-92a9-1403552a075an%40googlegroups.com.

Reply via email to