Skip to content

Commit

Permalink
Modify tests or outpit check according to new format with repo names
Browse files Browse the repository at this point in the history
Message was modified from `Warning: skipped PGP checks for 1 package(s).` to
`Warning: skipped PGP checks for 1 package(s) from comps-group repository(s).`
  • Loading branch information
j-mracek committed Apr 29, 2024
1 parent 15e54c6 commit 6f24b30
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions dnf-behave-tests/dnf/comps-group.feature
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ Scenario: Install an environment with a nonexistent group
"""
No match for group from environment: nonexistent-group
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from comps-group repository(s).
"""


Expand All @@ -517,7 +517,7 @@ Scenario: Install an environment using @^environment syntax
"""
No match for group from environment: nonexistent-group
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from comps-group repository(s).
"""


Expand Down
4 changes: 2 additions & 2 deletions dnf-behave-tests/dnf/distro-sync.feature
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Scenario: distro-sync list of packages with --skip-unavailable, one of them is n
"""
No match for argument: nosuchpkg
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down Expand Up @@ -164,7 +164,7 @@ Scenario: distro-sync list of packages with --skip-unavailable, one of them is n
"""
Packages for argument 'dwm' available, but not installed.
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down
6 changes: 3 additions & 3 deletions dnf-behave-tests/dnf/downgrade.feature
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ Scenario: Downgrade list of packages with --skip-unavailable, one of them is not
"""
No match for argument: nosuchpkg
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down Expand Up @@ -154,7 +154,7 @@ Scenario: Downgrade list of packages with --skip-unavailable, one of them is not
"""
Packages for argument 'abcde' available, but not installed.
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down Expand Up @@ -189,7 +189,7 @@ Scenario: Downgrade mixture of not available/not installed/not downgradable/down
The lowest available version of the "wget.x86_64" package is already installed, cannot downgrade it.
Packages for argument 'abcde' available, but not installed.
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down
4 changes: 2 additions & 2 deletions dnf-behave-tests/dnf/download-source.feature
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ Given I make packages from repository "dnf-ci-fedora" accessible via http
Then the exit code is 0
And stderr is
"""
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora repository(s).
"""
And Transaction is following
| Action | Package |
Expand All @@ -131,7 +131,7 @@ Given I make packages from repository "dnf-ci-fedora" accessible via http
Then the exit code is 0
And stderr is
"""
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down
4 changes: 2 additions & 2 deletions dnf-behave-tests/dnf/focusbest.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Scenario: prefer installing latests dependencies rather than smaller transaction
| upgrade | krb5-libs-0:2.0-1.fc29.x86_64 |
And stderr is
"""
Warning: skipped PGP checks for 3 package(s).
Warning: skipped PGP checks for 3 package(s) from focusbest repository(s).
"""


Expand All @@ -32,5 +32,5 @@ Scenario: if latests dependencies are not possible to install fall back to lower
| install-dep | krb5-pkinit-0:1.0-1.fc29.x86_64 |
And stderr is
"""
Warning: skipped PGP checks for 2 package(s).
Warning: skipped PGP checks for 2 package(s) from focusbest repository(s).
"""
2 changes: 1 addition & 1 deletion dnf-behave-tests/dnf/install-file-conflicts.feature
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ Scenario: An error is reported when a package with a file conflict is tried to b
And stderr is
"""
Transaction failed: Rpm transaction failed.
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-install-conflicts repository(s).
- file /usr/lib/package/conflicting-file from install of package-two-0:1.0-1.x86_64 conflicts with file from package package-one-0:1.0-1.x86_64
"""
2 changes: 1 addition & 1 deletion dnf-behave-tests/dnf/install-non-existent.feature
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Scenario: Install an existent and an non-existent package with --skip-unavailabl
"""
No match for argument: non-existent-package
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down
2 changes: 1 addition & 1 deletion dnf-behave-tests/dnf/obsoletes.feature
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ Scenario: Obsoleted package is not installed when group contains both obsoleter
| group-install | Obsoleter and obsoleted |
And stderr is
"""
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-obsoletes repository(s).
"""


Expand Down
4 changes: 2 additions & 2 deletions dnf-behave-tests/dnf/reinstall.feature
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Scenario: Reinstall list of packages with --skip-unavailable, one of them is not
"""
No match for argument: nosuchpkg
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand All @@ -98,7 +98,7 @@ Scenario: Reinstall list of packages with --skip-unavailable, one of them is not
"""
Packages for argument 'abcde' available, but not installed.
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down
10 changes: 5 additions & 5 deletions dnf-behave-tests/dnf/upgrade.feature
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Scenario: Upgrade list of packages with --skip-unavailable, one of them is not a
"""
No match for argument: nosuchpkg
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down Expand Up @@ -112,7 +112,7 @@ Scenario: Upgrade list of packages with --skip-unavailable, one of them is not i
"""
Packages for argument 'dwm' available, but not installed.
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-fedora-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand All @@ -136,7 +136,7 @@ Scenario: Upgrade all RPMs from multiple repositories with best=False
Problem: cannot install the best update candidate for package SuperRipper-1.0-1.x86_64
- nothing provides unsatisfiable needed by SuperRipper-1.3-1.x86_64
Warning: skipped PGP checks for 7 package(s).
Warning: skipped PGP checks for 7 package(s) from dnf-ci-fedora-updates, dnf-ci-fedora-updates-testing, dnf-ci-thirdparty-updates repository(s).
"""
And Transaction is following
| Action | Package |
Expand Down Expand Up @@ -185,7 +185,7 @@ Scenario: Upgrade all RPMs from multiple repositories with best=True
Problem: cannot install the best update candidate for package SuperRipper-1.0-1.x86_64
- nothing provides unsatisfiable needed by SuperRipper-1.3-1.x86_64
Warning: skipped PGP checks for 7 package(s).
Warning: skipped PGP checks for 7 package(s) from dnf-ci-fedora-updates, dnf-ci-fedora-updates-testing, dnf-ci-thirdparty-updates repository(s).
"""


Expand All @@ -203,7 +203,7 @@ Scenario: Print information about skipped packages
Problem: cannot install the best update candidate for package SuperRipper-1.0-1.x86_64
- nothing provides unsatisfiable needed by SuperRipper-1.3-1.x86_64
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package(s) from dnf-ci-thirdparty-updates repository(s).
"""


Expand Down

0 comments on commit 6f24b30

Please sign in to comment.