Skip to content

Commit 76ea397

Browse files
Reorder summary data in YAML validation test
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 0a63f43 commit 76ea397

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

tests/formattedcode/data/yaml/package-and-licenses-expected.yaml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,29 @@ headers:
3434
python_version: "3.8.10 (default, Mar 13 2023, 10:26:41) \n[GCC 9.4.0]"
3535
spdx_license_list_version: '3.20'
3636
files_count: 4
37+
summary:
38+
declared_license_expression: apache-2.0
39+
license_clarity_score:
40+
score: 100
41+
declared_license: yes
42+
identification_precision: yes
43+
has_license_text: yes
44+
declared_copyrights: yes
45+
conflicting_license_categories: no
46+
ambiguous_compound_licensing: no
47+
declared_holder: Example Corp.
48+
primary_language: Python
49+
other_license_expressions:
50+
- value:
51+
count: 1
52+
- value: apache-2.0 AND (apache-2.0 OR mit)
53+
count: 1
54+
- value: mit
55+
count: 1
56+
other_holders:
57+
- value:
58+
count: 3
59+
other_languages: []
3760
packages:
3861
- type: pypi
3962
namespace:
@@ -110,29 +133,6 @@ license_detections:
110133
- identifier: apache_2_0-ec759ae0-ea5a-f138-793e-388520e080c0
111134
license_expression: apache-2.0
112135
detection_count: 2
113-
summary:
114-
declared_license_expression: apache-2.0
115-
license_clarity_score:
116-
score: 100
117-
declared_license: yes
118-
identification_precision: yes
119-
has_license_text: yes
120-
declared_copyrights: yes
121-
conflicting_license_categories: no
122-
ambiguous_compound_licensing: no
123-
declared_holder: Example Corp.
124-
primary_language: Python
125-
other_license_expressions:
126-
- value:
127-
count: 1
128-
- value: apache-2.0 AND (apache-2.0 OR mit)
129-
count: 1
130-
- value: mit
131-
count: 1
132-
other_holders:
133-
- value:
134-
count: 3
135-
other_languages: []
136136
license_references:
137137
- key: apache-2.0
138138
language: en

0 commit comments

Comments
 (0)