Debian Codegraph @

python/tests/testsigs/unit/test_installer.py

raw
1 # SPDX-FileCopyrightText: Peter Pentchev <[email protected]>
2 # SPDX-License-Identifier: GPL-2.0-or-later
3 """Unit tests for the `debsigs-installer` tool."""
4
5 from __future__ import annotations
6
7 import typing
8
9 import pytest
10
11 from .util import test_cfg # noqa: F401 # pytest fixture
12
13
14 if typing.TYPE_CHECKING:
15 from . import util
16
17
18 def test_installer(test_cfg: util.ConfigAggr) -> None: # noqa: F811 # pytest fixture
19 """Sign files, copy them over to an archive tree."""
20 if not test_cfg.has_feature("tool-installer", "1"):
21 pytest.skip("No `debsigs-installer` at feature version 1 support")
22
23 raise NotImplementedError