Cleaned Up tests

This commit is contained in:
kevinveenbirkenbach committed 2025-12-09 14:33:32 +01:00
1 parent d50891dfe5
commit a4efb847ba
47 files changed
+4 -8

No files matched your search

-1
View File
@@ -1,4 +1,3 @@
# pkgmgr/cli_core/commands/branch.py
from __future__ import annotations from __future__ import annotations
import sys import sys
+2 -3
View File
@@ -1,4 +1,3 @@
# pkgmgr/cli_core/commands/release.py
#!/usr/bin/env python3 #!/usr/bin/env python3
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
@@ -6,8 +5,8 @@
Release command wiring for the pkgmgr CLI. Release command wiring for the pkgmgr CLI.
This module implements the `pkgmgr release` subcommand on top of the This module implements the `pkgmgr release` subcommand on top of the
generic selection logic from cli_core.dispatch. It does not define its generic selection logic from cli.dispatch. It does not define its
own subparser; the CLI surface is configured in cli_core.parser. own subparser; the CLI surface is configured in cli.parser.
Responsibilities: Responsibilities:
- Take the parsed argparse.Namespace for the `release` command. - Take the parsed argparse.Namespace for the `release` command.
File renamed without changes.
File renamed without changes.
@@ -1,5 +1,3 @@
# tests/integration/test_install_repos_integration.py
import os import os
import tempfile import tempfile
import unittest import unittest
File renamed without changes.
Whitespace-only changes.
File renamed without changes.
View File
Whitespace-only changes.
Whitespace-only changes.
@@ -6,7 +6,7 @@ Unit tests for pkgmgr.cli.commands.release.
These tests focus on the wiring layer: These tests focus on the wiring layer:
- Argument handling for the release command as defined by the - Argument handling for the release command as defined by the
top-level parser (cli_core.parser.create_parser). top-level parser (cli.parser.create_parser).
- Correct invocation of pkgmgr.actions.release.release(...) for the - Correct invocation of pkgmgr.actions.release.release(...) for the
selected repositories. selected repositories.
- Behaviour of --preview, --list, --close, and -f/--force. - Behaviour of --preview, --list, --close, and -f/--force.
@@ -22,7 +22,7 @@ from pkgmgr.cli.commands.branch import handle_branch
class TestBranchCLI(unittest.TestCase): class TestBranchCLI(unittest.TestCase):
""" """
Tests for the branch subcommands implemented in cli_core. Tests for the branch subcommands implemented in cli.
""" """
def _create_parser(self): def _create_parser(self):
File renamed without changes.
View File
Whitespace-only changes.
File renamed without changes.