Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions dnf-behave-tests/dnf/comps-environment-list.feature
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
@dnf5daemon
Feature: Tests for environment list and info commands


Background: Enable repo and mark an environment as installed
Given I use repository "comps-group-list"
And I successfully execute dnf with args "group install test-environment"
And I create file "/usr/lib/sysimage/libdnf5/environments.toml" with
"""
version = "1.0"
[environments]

test-environment = {groups = [], userinstalled = true}
"""

# https://github.com/rpm-software-management/dnf5/issues/1502
@xfail
Expand Down
10 changes: 9 additions & 1 deletion dnf-behave-tests/dnf/comps-group-list.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,15 @@ Feature: Tests for group list and info commands

Background: Enable repo and mark a group as installed
Given I use repository "comps-group-list"
And I successfully execute dnf with args "group install test-group"
Given I create file "/usr/lib/sysimage/libdnf5/groups.toml" with
"""
version = "1.0"

[groups]

[groups.test-group]
userinstalled = true
"""

Scenario: All user visible groups are listed by default (installed group is not duplicated)
When I execute dnf with args "group list"
Expand Down
Loading