mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-08 05:58:43 +02:00
Move enablechannels code from commandline to _private
This commit is contained in:
16
behave/features/enablechannels-pkgcheckout.feature
Normal file
16
behave/features/enablechannels-pkgcheckout.feature
Normal file
@@ -0,0 +1,16 @@
|
||||
Feature: `osc enablechannels` command
|
||||
|
||||
|
||||
# common steps for all scenarios
|
||||
Background:
|
||||
Given I set working directory to "{context.osc.temp}"
|
||||
And I execute osc with args "checkout test:factory test-pkgA"
|
||||
And I set working directory to "{context.osc.temp}/test:factory/test-pkgA"
|
||||
|
||||
|
||||
Scenario: Run `osc enablechannels`
|
||||
When I execute osc with args "enablechannels"
|
||||
Then stdout is
|
||||
"""
|
||||
Enabling channels in project: 'test:factory' package: 'test-pkgA'
|
||||
"""
|
16
behave/features/enablechannels-prjcheckout.feature
Normal file
16
behave/features/enablechannels-prjcheckout.feature
Normal file
@@ -0,0 +1,16 @@
|
||||
Feature: `osc enablechannels` command
|
||||
|
||||
|
||||
# common steps for all scenarios
|
||||
Background:
|
||||
Given I set working directory to "{context.osc.temp}"
|
||||
And I execute osc with args "checkout test:factory"
|
||||
And I set working directory to "{context.osc.temp}/test:factory"
|
||||
|
||||
|
||||
Scenario: Run `osc enablechannels`
|
||||
When I execute osc with args "enablechannels"
|
||||
Then stdout is
|
||||
"""
|
||||
Enabling channels in project: 'test:factory'
|
||||
"""
|
22
behave/features/enablechannels-project-package.feature
Normal file
22
behave/features/enablechannels-project-package.feature
Normal file
@@ -0,0 +1,22 @@
|
||||
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 project: 'test:factory' package: '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 project: 'test:factory' package: 'test-pkgA'
|
||||
"""
|
14
behave/features/enablechannels-project.feature
Normal file
14
behave/features/enablechannels-project.feature
Normal file
@@ -0,0 +1,14 @@
|
||||
Feature: `osc enablechannels` command
|
||||
|
||||
|
||||
# common steps for all scenarios
|
||||
Background:
|
||||
Given I set working directory to "{context.osc.temp}"
|
||||
|
||||
|
||||
Scenario: Run `osc enablechannels <project>`
|
||||
When I execute osc with args "enablechannels test:factory"
|
||||
Then stdout is
|
||||
"""
|
||||
Enabling channels in project: 'test:factory'
|
||||
"""
|
Reference in New Issue
Block a user