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

Soften the comparison of relationships in generation testcase7 #50

Open
meretp opened this issue Feb 13, 2023 · 0 comments
Open

Soften the comparison of relationships in generation testcase7 #50

meretp opened this issue Feb 13, 2023 · 0 comments

Comments

@meretp
Copy link
Collaborator

meretp commented Feb 13, 2023

Working on #36 I encountered the following problem:
Testcase 7 fails with the file generated by the tools-python because the relationship SPDXRef-fileB DESCRIBED_BY SPDXRef-DOCUMENT is missing. The tools-python don't write this relationship to the generated file as this information is already expressed by the documentDescribes tag (at least for json, yaml and xml). As this is in principle valid, the testbed shouldn't explicitly check if the relationships are equal, it should rather check if the information (SPDXRef-fileB is described by the doucment) is present, either through the relationship or the documentDescribes`-tag.

@meretp meretp changed the title Soften the comparison of the relationships in generation testcase7 Soften the comparison of relationships in generation testcase7 Feb 14, 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