Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock query execution strategies for tests marked with "remote" #192

Open
lu-pl opened this issue Jan 20, 2025 · 0 comments
Open

Mock query execution strategies for tests marked with "remote" #192

lu-pl opened this issue Jan 20, 2025 · 0 comments
Assignees
Labels

Comments

@lu-pl
Copy link
Contributor

lu-pl commented Jan 20, 2025

Some higher level tests target an actual remote triplestore. Obviously, those cases should be mocked instead.

Mocking HttpxStrategy shouldn't be a problem, mocking SPARQLWrapper and the respective rdfproxy strategy is not entirely straight forward though. I opened a SPARQLWrapper issue with a mock solution, no response so far.

So, since the SPARQLWrapperStrategy can be considered deprecated anyway, I would only mock HttpxStrategy and then discontinue SPARQLWrapper for RDFProxy.

@lu-pl lu-pl added the tests label Jan 20, 2025
@lu-pl lu-pl self-assigned this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant