File: test_installer.py

package info (click to toggle)
debsigs 0.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 420 kB
  • sloc: python: 1,160; perl: 728; makefile: 12; sh: 9
file content (23 lines) | stat: -rw-r--r-- 639 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-FileCopyrightText: Peter Pentchev <roam@ringlet.net>
# SPDX-License-Identifier: GPL-2.0-or-later
"""Unit tests for the `debsigs-installer` tool."""

from __future__ import annotations

import typing

import pytest

from .util import test_cfg  # noqa: F401  # pytest fixture


if typing.TYPE_CHECKING:
    from . import util


def test_installer(test_cfg: util.ConfigAggr) -> None:  # noqa: F811  # pytest fixture
    """Sign files, copy them over to an archive tree."""
    if not test_cfg.has_feature("tool-installer", "1"):
        pytest.skip("No `debsigs-installer` at feature version 1 support")

    raise NotImplementedError