1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-11 07:06:16 +01:00
github.com_openSUSE_osc/behave/features/undelete.feature
Daniel Mach be2c33d86f undelete: Migrate to pop_project_package_from_args()
INCOMPATIBLE CHANGE:
It is no longer possible to specify multiple packages at once,
because it was inconsistent with the rest of osc.
Call osc in a cycle to undelete multiple packages instead.
2023-01-12 10:47:46 +01:00

21 lines
636 B
Gherkin

Feature: `osc undelete` command
# common steps for all scenarios
Background:
Given I set working directory to "{context.osc.temp}"
@destructive
Scenario: Run `osc undelete <project>/<package>`
Given I execute osc with args "rdelete test:factory/test-pkgA -m 'why:delete'"
When I execute osc with args "undelete test:factory/test-pkgA -m 'why:undelete'"
Then the exit code is 0
@destructive
Scenario: Run `osc undelete <project>`
Given I execute osc with args "rdelete test:factory --recursive -m 'why:delete'"
When I execute osc with args "undelete test:factory -m 'why:undelete'"
Then the exit code is 0