(self)
| 185 | assert " foo" in stdout |
| 186 | |
| 187 | def can_be_given_directly(self): |
| 188 | program = Program(binary_names=["foo", "bar"]) |
| 189 | stdout, _ = run( |
| 190 | "foo --print-completion-script zsh", |
| 191 | invoke=False, |
| 192 | program=program, |
| 193 | ) |
| 194 | assert " foo bar" in stdout |
| 195 | |
| 196 | class print_version: |
| 197 | def displays_name_and_version(self): |