22 lines
403 B
Go
22 lines
403 B
Go
package lxd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/hashicorp/packer/packer"
|
|
)
|
|
|
|
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
|
|
var raw interface{}
|
|
raw = &Communicator{}
|
|
if _, ok := raw.(packer.Communicator); !ok {
|
|
t.Fatalf("Communicator should be a communicator")
|
|
}
|
|
}
|
|
|
|
// Acceptance tests
|
|
// TODO Execute a command
|
|
// TODO Upload a file
|
|
// TODO Download a file
|
|
// TODO Upload a Directory
|