packer-cn/builder/lxd/communicator_test.go

21 lines
402 B
Go
Raw Normal View History

2016-05-26 23:21:55 -04:00
package lxd
import (
2017-09-05 17:09:15 -04:00
"github.com/hashicorp/packer/packer"
2016-05-26 23:21:55 -04:00
"testing"
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
var raw interface{}
raw = &Communicator{}
if _, ok := raw.(packer.Communicator); !ok {
t.Fatalf("Communicator should be a communicator")
}
}
2016-05-30 19:13:59 -04:00
// Acceptance tests
// TODO Execute a command
// TODO Upload a file
// TODO Download a file
// TODO Upload a Directory