From 072ed8e5d62be96422c2b4625fe4259d1f5654ef Mon Sep 17 00:00:00 2001 From: Thomas Perale Date: Wed, 24 Jun 2026 12:13:32 +0200 Subject: [PATCH] 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 Signed-off-by: Arnout Vandecappelle --- support/testing/tests/utils/test_generate_cyclonedx.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/support/testing/tests/utils/test_generate_cyclonedx.py b/support/testing/tests/utils/test_generate_cyclonedx.py index e6640fbd0d..b91add2349 100644 --- a/support/testing/tests/utils/test_generate_cyclonedx.py +++ b/support/testing/tests/utils/test_generate_cyclonedx.py @@ -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",