1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 05:38:43 +02:00

aggregatepac: Migrate to pop_project_package_targetproject_targetpackage_from_args()

This commit is contained in:
2023-01-02 15:05:35 +01:00
parent d779eb936d
commit fd851bbe83
3 changed files with 34 additions and 15 deletions

View File

@@ -0,0 +1,23 @@
Feature: `osc aggregatepac` command
# common steps for all scenarios
Background:
Given I set working directory to "{context.osc.temp}"
@destructive
Scenario: Run `osc aggregatepac <project>/<package> <target-project>`
When I execute osc with args "aggregatepac test:factory/test-pkgA home:Admin"
Then the exit code is 0
@destructive
Scenario: Run `osc aggregatepac <project>/<package> <target-project>/<target-package>`
When I execute osc with args "aggregatepac test:factory/test-pkgA home:Admin/test-pkgAA"
Then the exit code is 0
Scenario: Run `osc aggregatepac` where the source and target are the same
When I execute osc with args "aggregatepac test:factory/test-pkgA test:factory"
Then the exit code is 1