Lines Matching refs:expect

26         self.expect("command container add process", "Can't replace builtin container command",
28 …self.expect("command container add process non_such_subcommand", "Can't add to built-in subcommand…
30 self.expect("command container add process launch", "Can't replace builtin subcommand",
36 self.expect("help test-multi", "Help works for top-level multi",
41 self.expect("help test-multi", "Help shows sub-multi",
43 self.expect("help test-multi test-multi-sub", "Help shows sub-multi",
50 self.expect("help test-multi test-multi-sub", "Listing subcommands works",
52 self.expect("help test-multi test-multi-sub welcome", "Subcommand help works",
55 self.expect("test-multi test-multi-sub welcome friend", "Test command works",
61 … self.expect("command script add -c welcome.WelcomeCommand2 test-multi test-multi-sub welcome",
67 self.expect("test-multi test-multi-sub welcome friend", "Used the new command class",
69 …self.expect("apropos welcome", "welcome should show up in apropos", substrs=["A docstring for the …
70 …self.expect("help test-multi test-multi-sub welcome", "welcome should show up in help", substrs=["…
71 self.expect("help", "test-multi should show up in help", substrs=["test-multi"])
77 self.expect("test-multi test-multi-sub welcome friend", "Used the new command class",
81 …self.expect("command script delete test-mult test-multi-sub welcome", "Delete script command - wro…
84 …self.expect("command script delete test-multi test-multi-su welcome", "Delete script command - wro…
88 …self.expect("command script delete test-multi test-multi-sub welcom", "Delete script command - wro…
92 …self.expect("command script delete test-multi test-multi-sub", "Delete script command - no leaf co…
97 self.expect("command script delete test-multi", "Delete script - can't delete container",
99 …self.expect("command script delete test-multi test-multi-sub", "Delete script - can't delete conta…
103 …self.expect("command container delete test-multi test-multi-sub welcome", "command container can't…
107 …self.expect("command alias test-multi process launch", "Tried to alias on top of a container comma…
112 …self.expect("command script delete process launch", "Delete builtin command fails", substrs=["comm…
114 …self.expect("command script delete test-multi test-multi-sub welcome", "Delete script command by p…
119 self.expect("test-multi test-multi-sub welcome friend", "did remove subcommand",
122 self.expect("help test-multi test-multi-sub", "help changed",
127 self.expect("test-multi test-multi-sub", "Command is not active", error=True,
129 self.expect("help test-multi", matching=False, substrs=["test-multi-sub"])
134 …self.expect("test-multi", "Root command gone", substrs=["'test-multi' is not a valid command."], e…