main: simplify upload error handling
This commit is contained in:
parent
8d03b2215c
commit
6dd8515801
4 changed files with 20 additions and 27 deletions
|
|
@ -343,7 +343,7 @@ func TestBuildIntegrationHappy(t *testing.T) {
|
|||
assert.NoError(t, err)
|
||||
|
||||
// ensure osbuild was run exactly one
|
||||
assert.Equal(t, 1, len(fakeOsbuildCmd.Calls()))
|
||||
require.Equal(t, 1, len(fakeOsbuildCmd.Calls()))
|
||||
osbuildCall := fakeOsbuildCmd.Calls()[0]
|
||||
// --cache is passed correctly to osbuild
|
||||
storePos := slices.Index(osbuildCall, "--store")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue