(addr string, mode maintnotifications.Mode)
| 391 | } |
| 392 | |
| 393 | func newMaintNotificationsTestClient(addr string, mode maintnotifications.Mode) (*Options, *baseClient) { |
| 394 | opt := &Options{ |
| 395 | Addr: addr, |
| 396 | Protocol: 3, |
| 397 | MaintNotificationsConfig: &maintnotifications.Config{ |
| 398 | Mode: mode, |
| 399 | }, |
| 400 | } |
| 401 | opt.init() |
| 402 | return opt, newTestBaseClient(opt) |
| 403 | } |
| 404 | |
| 405 | func assertMaintNotificationsCalls(t *testing.T, srv interface{ Commands() []string }, want int) { |
| 406 | t.Helper() |
no test coverage detected