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 from repository: comps-group`
  • Loading branch information
j-mracek authored and pkratoch committed May 28, 2024
1 parent 43b04c9 commit c8344e1
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 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 @@ -506,7 +506,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 from repository: comps-group
"""


Expand All @@ -525,7 +525,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 from repository: comps-group
"""


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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora
"""
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 from repository: dnf-ci-fedora
"""
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 packages from repository: focusbest
"""


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 packages from repository: focusbest
"""
2 changes: 1 addition & 1 deletion dnf-behave-tests/dnf/install-dependencies.feature
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ Scenario: Best candidates have conflicting dependencies
- cannot install the best candidate for the job
- conflicting requests
Warning: skipped PGP checks for 3 package(s).
Warning: skipped PGP checks for 3 packages from repository: install-dependencies
"""
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 from repository: dnf-ci-install-conflicts
- 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 from repository: dnf-ci-fedora
"""
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 from repository: dnf-ci-obsoletes
"""


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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora-updates
"""
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 from repository: dnf-ci-fedora-updates
"""
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 from dnf-ci-thirdparty-updates
Warning: skipped PGP checks for 7 package(s).
Warning: skipped PGP checks for 7 packages from repositories: dnf-ci-fedora-updates, dnf-ci-fedora-updates-testing, dnf-ci-thirdparty-updates
"""
And Transaction is following
| Action | Package |
Expand Down Expand Up @@ -187,7 +187,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 from dnf-ci-thirdparty-updates
Warning: skipped PGP checks for 7 package(s).
Warning: skipped PGP checks for 7 packages from repositories: dnf-ci-fedora-updates, dnf-ci-fedora-updates-testing, dnf-ci-thirdparty-updates
"""


Expand All @@ -206,7 +206,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 from dnf-ci-thirdparty-updates
Warning: skipped PGP checks for 1 package(s).
Warning: skipped PGP checks for 1 package from repository: dnf-ci-thirdparty-updates
"""


Expand Down

0 comments on commit c8344e1

Please sign in to comment.