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

Error comparing the @contexts #9

Closed
AndreaCimminoArriaga opened this issue Mar 15, 2022 · 1 comment · Fixed by #29
Closed

Error comparing the @contexts #9

AndreaCimminoArriaga opened this issue Mar 15, 2022 · 1 comment · Fixed by #29

Comments

@AndreaCimminoArriaga
Copy link
Contributor

The Directory injects in the TDs the registration information (this is taken into account in the tests). However, the @context is also modified (since the @context of discovery must be added to the terms related are compliant with the ontology). Currently, the tests require that a pre-registered TD has the same context as a registered one, which can not be true.

I can create a PR that removes the comparison of these contexts.

@farshidtz
Copy link
Owner

For now, I've set it to ignore context; see #10.

We have to revisit this once w3c/wot-discovery#291 is reolved.

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 a pull request may close this issue.

2 participants