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

Use sparql-endpoint-fixture in graphics tests #135

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from

Conversation

kstudzin
Copy link
Contributor

Use sparql-endpoint-fixture to mock a sparql endpoint in graphics tests. This allows for testing the --endpoint option

Closes #100

@kstudzin kstudzin requested a review from sa-bpelakh September 20, 2024 16:24
@sa-bpelakh
Copy link
Collaborator

The install error it's running into can be fixed by capping the max version of setuptools to "setuptools<58.0.0", but there is still the version conflict between the other requirements. Let's talk about this Monday, we'll probably need to create an updated version of the fixture.

I also noticed you created .trig inputs for the fixture graphs, but that's not currently supported - multiple graphs are configured by supplying a graph name -> content map instead of a list of RDF files. We can add .trig support to the fixture (onto-tool itself really needs TRiG support as well, there are issues for it), but it will take time.

@kstudzin
Copy link
Contributor Author

kstudzin commented Oct 1, 2024

I'll reach out to talk about the version conflicts.

I added the trig file because it was the only way to trigger the 'single graph' clause of gather_schema_info_from_repo method. It's used to create the sparql_endpoint but I don't try to process it with the tool at all. See test_remote_graphs in test_schema.py and test_remote_show_ont_trig in test_bnode_subject.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI tests failing - SPARQL endpoint not accessible
2 participants