This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
python3.13-pip/tests/bash_completion/main.fmf
Miro Hrončok c12e9f5e3a CI: Adjust for EPEL Python 3.13
Note that epel-rpm-macros was added as a requirement to bring
rpmautospec-rpm-macros on EPEL 9.
rpmautospec-rpm-macros no longer exists on EPEL 10,
the macros were added to redhat-rpm-config.
The rpmautospec macros are needed for the mock_bootstrap_build test.

Technically, always pulling epel-rpm-macros is the right thing to do,
as it allows us to build SRPM correctly.
The EPEL macros are installed by default inside the mock chroot,
but not on the CI system.
Alternatively, we could build the SRPM using mock,
but that's an overkill.

[skip changelog]
2025-09-02 17:35:04 +02:00

35 lines
992 B
Text

summary: PIP bash completion functionality smoke test
description: |
Comprehensive test for pip bash completion functionality on Fedora/RHEL systems.
The test performs the following steps:
1. Finds the bash completion script in the given (e.g. python3-pip) RPM package
2. Discovers all pip executables in the package (e.g. /usr/bin/pip and /usr/bin/pip3.14)
3. Sources the completion script and verifies completion for all executables is registered
4. Runs functional TAB completion tests using expect (for regular and POSIX mode of Bash)
5. Validates that completion works for basic pip commands
This is a smoke test to ensure pip bash completion is properly
installed and functional after package installation.
component:
- python3.13-pip
test: ./pip_completion_full_test.sh
framework: shell
duration: 5m
tier: 1
require:
- python3.13-pip
- bash-completion
- expect
- rpm
- bash
environment:
PACKAGE: python3.13-pip