Skip to content

Commit 5f06678

Browse files
committed
Drop unused test
Signed-off-by: ziad hany <ziadhany2016@gmail.com>
1 parent 14d5b4f commit 5f06678

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

vulnerabilities/tests/pipelines/v2_improvers/test_reference_collect_commits_v2.py

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,6 @@
2020
)
2121

2222

23-
@pytest.mark.django_db
24-
def test_is_vcs_url_already_processed_true():
25-
advisory = AdvisoryV2.objects.create(
26-
advisory_id="CVE-2025-9999",
27-
datasource_id="test-ds",
28-
avid="test-ds/CVE-2025-9999",
29-
url="https://example.com/advisory/CVE-2025-9999",
30-
unique_content_id="11111",
31-
date_collected=datetime.now(),
32-
)
33-
package = PackageV2.objects.create(
34-
type="bar",
35-
name="foo",
36-
version="1.0",
37-
)
38-
impact = ImpactedPackage.objects.create(advisory=advisory)
39-
impact.affecting_packages.add(package)
40-
package_commit_patch = PackageCommitPatch.objects.create(
41-
vcs_url="https://github.com/user/repo/commit/6bd301819f8f69331a55ae2336c8b111fc933f3d",
42-
commit_hash="6bd301819f8f69331a55ae2336c8b111fc933f3d",
43-
)
44-
impact.fixed_by_package_commit_patches.add(package_commit_patch)
45-
46-
4723
@pytest.mark.django_db
4824
def test_collect_fix_commits_pipeline_creates_entry():
4925
advisory = AdvisoryV2.objects.create(

0 commit comments

Comments
 (0)