2016-05-27 03:21:55 +00:00
|
|
|
package lxd
|
|
|
|
|
|
|
|
import (
|
|
|
|
"testing"
|
2018-01-22 17:21:10 -08:00
|
|
|
|
|
|
|
"github.com/hashicorp/packer/packer"
|
2016-05-27 03:21:55 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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 23:13:59 +00:00
|
|
|
|
|
|
|
// Acceptance tests
|
|
|
|
// TODO Execute a command
|
|
|
|
// TODO Upload a file
|
|
|
|
// TODO Download a file
|
|
|
|
// TODO Upload a Directory
|