Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test for Traceback in install @module
The problem was triggered when modular error was handled during "dnf install @module" command.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Feature: Show modular errors | ||
|
||
@setup | ||
Scenario: Testing repository Setup | ||
Given I run steps from file "modularity-repo-1.setup" | ||
When I enable repository "modularityABDE" | ||
And I successfully run "dnf makecache" | ||
And I successfully run "dnf module enable ModuleE:f26 -y" | ||
And I successfully run "dnf module disable ModuleD --skip-broken -y" | ||
|
||
@bz1688823 | ||
Scenario: I can enable a module when specifying stream | ||
When I successfully run "dnf install @ModuleB:f26 -y" | ||
Then a module ModuleB config file should contain | ||
| Key | Value | | ||
| state | enabled | | ||
| stream | f26 | | ||
And the command stdout should match regexp "Enabling module streams:" | ||
And the command stdout should match regexp "ModuleB +f26" | ||
And the command stderr should not match regexp "Traceback" |