(enable bool, prefix string)
| 154 | } |
| 155 | |
| 156 | func (e *CLITest) SetLogOutput(enable bool, prefix string) { |
| 157 | e.logMu.Lock() |
| 158 | defer e.logMu.Unlock() |
| 159 | |
| 160 | e.logOutputEnabled = enable |
| 161 | e.logOutputPrefix = prefix |
| 162 | } |
| 163 | |
| 164 | func (e *CLITest) NotificationsSent() []*sender.Message { |
| 165 | return testsender.MessagesInContext(e.RunContext) |