22 lines
427 B
Go
22 lines
427 B
Go
package lxd
|
|
|
|
import (
|
|
"testing"
|
|
|
|
packersdk "github.com/hashicorp/packer-plugin-sdk/packer"
|
|
)
|
|
|
|
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
|
|
var raw interface{}
|
|
raw = &Communicator{}
|
|
if _, ok := raw.(packersdk.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
|