github.com/mmcquillan/packer@v1.1.1-0.20171009221028-c85cf0483a5d/builder/lxd/communicator_test.go (about)

     1  package lxd
     2  
     3  import (
     4  	"github.com/hashicorp/packer/packer"
     5  	"testing"
     6  )
     7  
     8  func TestCommunicator_ImplementsCommunicator(t *testing.T) {
     9  	var raw interface{}
    10  	raw = &Communicator{}
    11  	if _, ok := raw.(packer.Communicator); !ok {
    12  		t.Fatalf("Communicator should be a communicator")
    13  	}
    14  }
    15  
    16  // Acceptance tests
    17  // TODO Execute a command
    18  // TODO Upload a file
    19  // TODO Download a file
    20  // TODO Upload a Directory