Sargun Dhillon
2019-05-19 13:49:16 -07:00
parent dd71a884b3
commit 42e83ab984
2 changed files with 8 additions and 11 deletions

View File

@@ -1,17 +1,12 @@
package mock
import (
"testing"
"github.com/virtual-kubelet/virtual-kubelet/vkubelet"
"github.com/virtual-kubelet/virtual-kubelet/providers"
"gotest.tools/assert"
)
// We can guarantee the right interfaces are implemented inside of by putting casts in place. We must do the verification
// that a given type *does not* implement a given interface in this test.
// Cannot implement this due to: https://github.com/virtual-kubelet/virtual-kubelet/issues/632
/*
func TestMockLegacyInterface(t *testing.T) {
var mlp providers.Provider = &MockLegacyProvider{}
_, ok := mlp.(vkubelet.PodNotifier)
assert.Assert(t, !ok)
}
*/