package view_test // import ( // "testing" // "github.com/derailed/k9s/internal/config" // "github.com/derailed/k9s/internal/resource" // "github.com/stretchr/testify/assert" // ) // func TestDeploy(t *testing.T) { // l := resource.NewDeploymentList(nil, "fred") // v := view.NewDeploy("blee", "", l) // ctx := context.WithValue(ui.KeyApp, NewApp(config.NewConfig(ks{}))) // v.Init(ctx) // assert.Equal(t, 10, len(v.Hints())) // }