packer-cn/builder/lxc/communicator_test.go

15 lines
291 B
Go
Raw Normal View History

2016-05-25 15:34:36 -04:00
package lxc
import (
2016-05-25 15:34:51 -04:00
"github.com/mitchellh/packer/packer"
"testing"
2016-05-25 15:34:36 -04:00
)
func TestCommunicator_ImplementsCommunicator(t *testing.T) {
2016-05-25 15:34:51 -04:00
var raw interface{}
raw = &LxcAttachCommunicator{}
if _, ok := raw.(packer.Communicator); !ok {
t.Fatalf("Communicator should be a communicator")
}
2016-05-25 15:34:36 -04:00
}