1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00
github.com_openSUSE_osc/behave/features/addcontainers-prjcheckout.feature

18 lines
520 B
Gherkin

Feature: `osc addcontainers` 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 addcontainers`
When I execute osc with args "addcontainers"
Then the exit code is 1
And stderr is
"""
Directory '{context.osc.temp}/test:factory' is not an OBS SCM working copy of a package
"""