Skip to content

Commit

Permalink
Fix failing tests #63
Browse files Browse the repository at this point in the history
Signed-off-by: tdruez <tdruez@nexb.com>
  • Loading branch information
tdruez committed Jun 27, 2024
1 parent e2627a2 commit 7cf635f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
8 changes: 0 additions & 8 deletions component_catalog/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,6 @@ class LicenseFieldsMixin(models.Model):
class Meta:
abstract = True

@property
def declared_license_expression_spdx(self):
return "TODO"

@property
def other_license_expression_spdx(self):
return "TODO"


def get_cyclonedx_properties(instance):
"""
Expand Down
2 changes: 0 additions & 2 deletions component_catalog/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1699,8 +1699,6 @@ def test_package_model_create_from_url_enable_purldb_access(
"size": 687192,
"sha1": "a2363646a9dd05955633b450010b59a21af8a423",
"declared_license_expression": "bsd-new OR epl-1.0 OR apache-2.0",
"declared_license_expression_spdx": "BSD-3-Clause OR EPL-1.0 OR Apache-2.0",
"declared_license": "EPL\nhttps://www.eclipse.org/legal/eps-v10.html",
"package_url": "pkg:maven/abbot/abbot@1.4.0",
}
mock_get_purldb_entries.return_value = [purldb_entry]
Expand Down

0 comments on commit 7cf635f

Please sign in to comment.