mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-25 17:36:13 +01:00
23 lines
612 B
Gherkin
23 lines
612 B
Gherkin
Feature: `osc enablechannels` command
|
|
|
|
|
|
# common steps for all scenarios
|
|
Background:
|
|
Given I set working directory to "{context.osc.temp}"
|
|
|
|
|
|
Scenario: Run `osc enablechannels <project> <package>`
|
|
When I execute osc with args "enablechannels test:factory test-pkgA"
|
|
Then stdout is
|
|
"""
|
|
Enabling channels in package 'test:factory/test-pkgA'
|
|
"""
|
|
|
|
|
|
Scenario: Run `osc enablechannels <project>/<package>`
|
|
When I execute osc with args "enablechannels test:factory/test-pkgA"
|
|
Then stdout is
|
|
"""
|
|
Enabling channels in package 'test:factory/test-pkgA'
|
|
"""
|