2022-11-01 14:29:23 +01:00
|
|
|
Feature: `osc addchannels` command
|
|
|
|
|
|
|
|
|
|
|
|
# common steps for all scenarios
|
|
|
|
Background:
|
|
|
|
Given I set working directory to "{context.osc.temp}"
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc addchannels <project>`
|
|
|
|
When I execute osc with args "addchannels test:factory"
|
|
|
|
Then stdout is
|
|
|
|
"""
|
2022-11-07 16:18:52 +01:00
|
|
|
Adding channels to project 'test:factory'
|
2022-11-01 14:29:23 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc addchannels <project> --enable-all`
|
|
|
|
When I execute osc with args "addchannels test:factory --enable-all"
|
|
|
|
Then stdout is
|
|
|
|
"""
|
2022-11-07 16:18:52 +01:00
|
|
|
Adding channels to project 'test:factory' options: enable-all
|
2022-11-01 14:29:23 +01:00
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
Scenario: Run `osc addchannels <project> --skip-disabled`
|
|
|
|
When I execute osc with args "addchannels test:factory --skip-disabled"
|
|
|
|
Then stdout is
|
|
|
|
"""
|
2022-11-07 16:18:52 +01:00
|
|
|
Adding channels to project 'test:factory' options: skip-disabled
|
2022-11-01 14:29:23 +01:00
|
|
|
"""
|
|
|
|
|