Skip to content

Commit

Permalink
[review] add issue link
Browse files Browse the repository at this point in the history
Signed-off-by: Armin Tänzer <armin.taenzer@tngtech.com>
  • Loading branch information
armintaenzertng committed Dec 28, 2022
1 parent 62d84ec commit 5747050
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validation/package_validator.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def validate_package_within_document(package: Package, document: Document) -> Li
for message in validate_spdx_id(package.spdx_id, document):
validation_messages.append(ValidationMessage(message, context))

# TODO: make test for this
# TODO: make test for this (https://github.com/spdx/tools-python/issues/386)
if not package.files_analyzed:
package_contains_relationships = [relationship for relationship in document.relationships if
relationship.relationship_type == RelationshipType.CONTAINS and relationship.spdx_element_id == package.spdx_id]
Expand Down

0 comments on commit 5747050

Please sign in to comment.