Skip to content

feat: implement organization context in the cli #12259

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Feb 26, 2024
Prev Previous commit
Next Next commit
fix test assert
  • Loading branch information
Emyrk committed Feb 22, 2024
commit 5df951b96aaa8e5b302c6a337682d2103d78b8b0
14 changes: 1 addition & 13 deletions cli/templatecreate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,19 +243,7 @@ func TestTemplateCreate(t *testing.T) {
assert.Error(t, err)
}()

matches := []struct {
match string
write string
}{
{match: "Upload", write: "yes"},
}
for _, m := range matches {
pty.ExpectMatch(m.match)
if len(m.write) > 0 {
pty.WriteLine(m.write)
}
}

pty.ExpectMatch("context canceled")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this change?

<-ctx.Done()
})

Expand Down