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

Add test for delete #9

Open
bgajdero opened this issue Apr 14, 2024 · 0 comments
Open

Add test for delete #9

bgajdero opened this issue Apr 14, 2024 · 0 comments
Assignees

Comments

@bgajdero
Copy link
Contributor

The SPARQLDict._delete() and NodeGraph.delete() have refs parameter.

If refs=True, all triples linked to the node being deleted. For a node with inst_id=id_value all [id_value pref obj] and [sub pred id_value] triples are deleted.

If refs=False, linked nodes are not deleted, only the main node is deleted. For a node with inst_id=id_value all [id_value pref obj] triples are deleted.

Add tests 45, 46, and 47 to test_sparql_dict.py

Add similar tests 60, 61, 62 to test_unit_test_node1.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

No branches or pull requests

2 participants