(self)
| 181 | # NOTE: this is currently only used for completion stuff, so we use |
| 182 | # that to test. TODO: maybe make this more unit-y... |
| 183 | def defaults_to_argv_when_None(self): |
| 184 | stdout, _ = run("foo --print-completion-script zsh", invoke=False) |
| 185 | assert " foo" in stdout |
| 186 | |
| 187 | def can_be_given_directly(self): |
| 188 | program = Program(binary_names=["foo", "bar"]) |