Skip to content

Commit d95dc73

Browse files
committed
tests: rearranged tests
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 4ff9b23 commit d95dc73

File tree

79 files changed

+1003
-1127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1003
-1127
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# EditorConfig is awesome: https://editorconfig.org
2+
3+
[licenses/utf-8*]
4+
charset = utf-8
5+
6+
[licenses/utf-16le*]
7+
charset = utf-16le
8+
9+
[licenses/utf-16be*]
10+
charset = utf-16be
11+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Licenses/* binary
2+
Licenses/*.txt binary diff=txt
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# PEP 639 - regression 868
2+
3+
see <https://github.com/CycloneDX/cyclonedx-python/issues/868>
4+
5+
PEP-630 expects license gfiles to be UTF8 encoded text.
6+
some license files may not be text, some may not be UTF8 encoded, but still be added as license files.

tests/_data/infiles/environment/with-license-bad-file-recoverable/badlicdepends/License.rtf renamed to tests/_data/infiles/_helpers/local_pckages/with-license-pep639_regression-issue868/licenses/richtext.rtf

File renamed without changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
this file is
2+
utf-8 encoded
3+
without BOM
4+
😃
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
this file is
2+
utf-8 encoded
3+
with BOM
4+
😃
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[build-system]
2+
# Known broken version
3+
requires = ["setuptools == 78.1.0"]
4+
build-backend = "setuptools.build_meta"
5+
6+
[project]
7+
name = "regression-issue868"
8+
version = "0.1"
9+
license-files = ["licenses/*"]
10+
readme = "README.md"
11+
12+
[tool.setuptools]
13+
include-package-data = false
14+
exclude-package-data = { "*" = ["*", "**"] }
15+
[tool.setuptools.package-data]
16+
# do not want any content installed

tests/_data/infiles/environment/with-license-bad-file-recoverable/badlicdepends/.gitattributes

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)