You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
meretp
changed the title
Soften the comparison of the relationships in generation testcase7
Soften the comparison of relationships in generation testcase7
Feb 14, 2023
Working on #36 I encountered the following problem:
Testcase 7 fails with the file generated by the
tools-python
because the relationshipSPDXRef-fileB DESCRIBED_BY SPDXRef-DOCUMENT
is missing. Thetools-python
don't write this relationship to the generated file as this information is already expressed by thedocumentDescribes
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.The text was updated successfully, but these errors were encountered: