Skip to content

Commit db270e3

Browse files
committed
Convert python_wheel test to acceptance
Instead of calling mutator, log request paths and check that the wheel is uploaded.
1 parent a879af9 commit db270e3

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

bundle/tests/python_wheel_test.go

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,6 @@ import (
1414
"github.com/stretchr/testify/require"
1515
)
1616

17-
func TestPythonWheelBuild(t *testing.T) {
18-
b := loadTarget(t, "./python_wheel/python_wheel", "default")
19-
20-
ctx := context.Background()
21-
diags := phases.Build(ctx, b)
22-
require.NoError(t, diags.Error())
23-
24-
matches, err := filepath.Glob("./python_wheel/python_wheel/my_test_code/dist/my_test_code-*.whl")
25-
require.NoError(t, err)
26-
require.Len(t, matches, 1)
27-
28-
match := libraries.ExpandGlobReferences()
29-
diags = bundle.Apply(ctx, b, match)
30-
require.NoError(t, diags.Error())
31-
}
32-
3317
func TestPythonWheelBuildAutoDetect(t *testing.T) {
3418
b := loadTarget(t, "./python_wheel/python_wheel_no_artifact", "default")
3519

0 commit comments

Comments
 (0)