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

Make tests for instantiate in mappings.py #680

Open
francescalb opened this issue Oct 26, 2023 · 0 comments
Open

Make tests for instantiate in mappings.py #680

francescalb opened this issue Oct 26, 2023 · 0 comments
Assignees

Comments

@francescalb
Copy link
Collaborator

Instantiate is currently being tested indirectly.

New tests should be aded that tests only instantiate and instantiate_all.

Make sure that all argument possibilities are tested, e.g. different ways to set meta.
The example below is taken from the musicode demo https://github.com/EMMC-ASBL/musicode-ote-intop-demo,
whic can provide as inspiration for this test.

molecule = instantiate(
#meta=str(MOL).rstrip("/#"),
meta=MOL,
instances=list(get_referred_instances(coll2)),
triplestore=ts,
allow_incomplete=True,)

@francescalb francescalb mentioned this issue Oct 26, 2023
9 tasks
@francescalb francescalb self-assigned this Oct 26, 2023
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

1 participant