Skip to content

Commit 42aef52

Browse files
committed
behave: Fix failing tests due to missing metadata
1 parent a750dd7 commit 42aef52

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

behave/features/git-osc-precommit-hook.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Background:
1010
And I execute "sed -i 's@^\(Version: *\) .*@\1 v1.1@' *.spec"
1111
# running precommit services has a hard coded query, so openSUSE:Factory needs to exist
1212
And I execute osc with args "api -X PUT '/source/openSUSE:Factory/_meta' -d '<project name="openSUSE:Factory"><title></title><description></description></project>'"
13+
And I execute git-obs with args "meta set --apiurl='http://localhost:{context.podman.container.ports[gitea_http]}' --project=openSUSE:Factory"
1314

1415

1516
@destructive

behave/features/git-repo-clone.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ Scenario: Clone and build with non-default origin
3333
Then the exit code is 0
3434
When I set working directory to "{context.osc.temp}/test-GitPkgA"
3535
And I execute "git remote rename origin myorigin"
36+
And I execute git-obs with args "meta set --apiurl='http://localhost:{context.podman.container.ports[gitea_http]}' --project=foo"
3637
And I execute osc with args "build --just-print-buildroot --alternative-project test:factory"
3738
Then the exit code is 0
3839

0 commit comments

Comments
 (0)