Skip to content

Commit

Permalink
feat: test file
Browse files Browse the repository at this point in the history
  • Loading branch information
mastersans committed Mar 29, 2024
1 parent bf706ca commit 9dc9776
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions cve_bin_tool/checkers/tryitout.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: GPL-3.0-or-later

"""
Test for checker-action github action.
Below code is meant to mimic a checker, except it contains bogus VENDOR_PRODUCT.
The test in the CI should fail.
-- Joydeep Tripathy (joydeep049)
"""

from __future__ import annotations

from cve_bin_tool.checkers import Checker


class TestPreCheckerChecker(Checker):
CONTAINS_PATTERNS: list[str] = []
FILENAME_PATTERNS: list[str] = []
VERSION_PATTERNS = []
VENDOR_PRODUCT = [("apc", "something")]

0 comments on commit 9dc9776

Please sign in to comment.