mirror of
https://github.com/hanzoai/pack.git
synced 2026-09-30 23:43:13 +00:00
19 lines
423 B
Go
19 lines
423 B
Go
package procfile
|
|
|
|
import (
|
|
"testing"
|
|
|
|
testingUtils "github.com/railwayapp/railpack/core/testing"
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestProcfile(t *testing.T) {
|
|
ctx := testingUtils.CreateGenerateContext(t, "../../../examples/python-uv")
|
|
provider := ProcfileProvider{}
|
|
|
|
_, err := provider.Plan(ctx)
|
|
require.NoError(t, err)
|
|
|
|
require.Equal(t, "gunicorn --bind 0.0.0.0:3333 main:app", ctx.Deploy.StartCmd)
|
|
}
|