(nthConfig config.Config, client *fake.Clientset)
| 72 | } |
| 73 | |
| 74 | func newNode(nthConfig config.Config, client *fake.Clientset) (*node.Node, error) { |
| 75 | drainHelper := getDrainHelper(client) |
| 76 | return node.NewWithValues(nthConfig, drainHelper, uptime.Uptime) |
| 77 | } |
| 78 | |
| 79 | func TestDryRun(t *testing.T) { |
| 80 | tNode, err := newNode(config.Config{DryRun: true}, fake.NewSimpleClientset()) |
no test coverage detected