(t *testing.T)
| 34 | } |
| 35 | |
| 36 | func TestNewSSHController(t *testing.T) { |
| 37 | cfg := newTestMainConfig() |
| 38 | ctrl := NewSSHController("192.168.1.1", cfg) |
| 39 | assert.NotNil(t, ctrl) |
| 40 | assert.Equal(t, "192.168.1.1", ctrl.targetIP) |
| 41 | assert.Equal(t, cfg, ctrl.configuration) |
| 42 | } |
| 43 | |
| 44 | func TestSSHController_TryLogin_WithCacheFound(t *testing.T) { |
| 45 | cfg := newTestMainConfig() |
nothing calls this directly
no test coverage detected