testing/tests/utils/test_generate_cyclonedx.py: test scp-style git sites

The commit [1] fixed a formatting bug with the SCP style git sites
declaration.

Add this style of link to the test case to keep a track of it.

[1] ebcfdb8b0a utils/generate-cyclonedx: fixup scp-style git sites

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
(cherry picked from commit 072ed8e5d6)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
This commit is contained in:
Thomas Perale
2026-06-24 12:13:32 +02:00
committed by Raphaël Mélotte
parent 941072daed
commit db245058c1

View File

@@ -149,6 +149,7 @@ class TestGenerateCycloneDX(unittest.TestCase):
"uris": [
"git+git://git.example.org/foo",
"svn+https://svn.example.org/foo",
"git+git@example.org:project/foo.git",
"https+https://sources.buildroot.net/foo",
"http|https+https://mirror.example.org/foo",
],
@@ -172,6 +173,11 @@ class TestGenerateCycloneDX(unittest.TestCase):
"url": "https://svn.example.org/foo",
"comment": "svn repository",
},
{
"type": "vcs",
"url": "ssh://git@example.org/project/foo.git",
"comment": "git repository",
},
{
"type": "source-distribution",
"url": "https://mirror.example.org/foo/foo-1.2.tar.gz",