Skip to content

Commit 65eeba1

Browse files
committed
tests for #931
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 79a9f0c commit 65eeba1

20 files changed

+689
-0
lines changed

tests/_data/infiles/environment/with-license-pep639/init.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ def main() -> None:
7171
'jsonpointer',
7272
'license_expression',
7373
'lxml',
74+
'chardet==5.2.0' , # https://github.com/CycloneDX/cyclonedx-python/issues/931
7475
# with expression-like License AND License-File
7576
'cryptography==43.0.1', # https://github.com/CycloneDX/cyclonedx-python/issues/826
7677
# with possibly unexpected license files

tests/_data/infiles/environment/with-license-pep639/pinning.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
attrs==23.2.0
22
boolean.py==4.0
3+
chardet==5.2.0
34
cryptography==43.0.1
45
jsonpointer==2.4
56
license-expression==30.3.0

tests/_data/snapshots/environment/plain_with-license-pep639_1.0.xml.bin

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/snapshots/environment/plain_with-license-pep639_1.1.xml.bin

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/snapshots/environment/plain_with-license-pep639_1.2.json.bin

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/snapshots/environment/plain_with-license-pep639_1.2.xml.bin

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/snapshots/environment/plain_with-license-pep639_1.3.json.bin

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/snapshots/environment/plain_with-license-pep639_1.3.xml.bin

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/snapshots/environment/plain_with-license-pep639_1.4.json.bin

Lines changed: 40 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/_data/snapshots/environment/plain_with-license-pep639_1.4.xml.bin

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)