Skip to content

Commit

Permalink
Update: Test Failure fix in test_score.py test cases
Browse files Browse the repository at this point in the history
Signed-off-by: swastik <[email protected]>
  • Loading branch information
swastkk committed Jul 15, 2024
1 parent a63a04c commit 27c2cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/summarycode/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def is_enabled(self, license_clarity_score, **kwargs):
def process_codebase(self, codebase, license_clarity_score, **kwargs):
if TRACE:
logger_debug('LicenseClarityScore:process_codebase')
scoring_elements, declared_license_expression = compute_license_score(codebase)
scoring_elements, declared_license_expression = compute_license_score(codebase, is_codebase=True)
codebase.attributes.summary['declared_license_expression'] = declared_license_expression
codebase.attributes.summary['license_clarity_score'] = scoring_elements.to_dict()

Expand Down

0 comments on commit 27c2cc1

Please sign in to comment.