1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 21:58:41 +02:00

Fix GitStore to error out properly if there is no 'origin' remote in the git repo

This commit is contained in:
2023-08-28 09:54:38 +02:00
parent 6eb9c4b186
commit 5a67bd3376
6 changed files with 32 additions and 20 deletions

View File

@@ -13,5 +13,5 @@ Scenario: Run `osc addcontainers`
Then the exit code is 1
And stderr is
"""
Directory '{context.osc.temp}/test:factory' is not a working copy of a package
Directory '{context.osc.temp}/test:factory' is not an OBS SCM working copy of a package
"""

View File

@@ -13,5 +13,5 @@ Scenario: Run `osc develproject`
Then the exit code is 1
And stderr is
"""
Directory '{context.osc.temp}/test:factory' is not a working copy of a package
Directory '{context.osc.temp}/test:factory' is not an OBS SCM working copy of a package
"""

View File

@@ -13,5 +13,5 @@ Scenario: Run `osc setdevelproject <devel_project>`
Then the exit code is 1
And stderr is
"""
Directory '{context.osc.temp}/test:factory' is not a working copy of a package
Directory '{context.osc.temp}/test:factory' is not an OBS SCM working copy of a package
"""

View File

@@ -13,5 +13,5 @@ Scenario: Run `osc showlinked`
Then the exit code is 1
And stderr is
"""
Directory '{context.osc.temp}/test:factory' is not a working copy of a package
Directory '{context.osc.temp}/test:factory' is not an OBS SCM working copy of a package
"""