import removed

This commit is contained in:
asoseil 2017-11-20 14:18:42 +01:00
parent 5f1a5c9858
commit 02b4e7bb79
1 changed files with 8 additions and 1 deletions

View File

@ -5,7 +5,6 @@ import (
"log" "log"
"strings" "strings"
"testing" "testing"
"gopkg.in/urfave/cli.v2"
"errors" "errors"
) )
@ -84,6 +83,14 @@ func TestStart(t *testing.T) {
} }
} }
func TestSetup(t *testing.T) {
m := mockRealize{}
mockResponse = nil
if err := m.setup(); err != nil{
t.Fatal("Unexpected error")
}
}
func TestClean(t *testing.T) { func TestClean(t *testing.T) {
m := mockRealize{} m := mockRealize{}
mockResponse = nil mockResponse = nil