summaryrefslogtreecommitdiff
path: root/vendor/github.com/mitchellh/packer/builder/lxc/communicator_test.go
blob: 854ba66806c78d980026995b0a25f30578534c39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package lxc

import (
	"github.com/hashicorp/packer/packer"
	"testing"
)

func TestCommunicator_ImplementsCommunicator(t *testing.T) {
	var raw interface{}
	raw = &LxcAttachCommunicator{}
	if _, ok := raw.(packer.Communicator); !ok {
		t.Fatalf("Communicator should be a communicator")
	}
}