remove internal provider test from command pkg

This commit is contained in:
James Bardin 2017-06-12 10:42:58 -04:00
parent 5b58c79051
commit 7e7f53954d
1 changed files with 9 additions and 8 deletions

View File

@ -4,14 +4,15 @@ package command
import "testing"
func TestInternalPlugin_InternalProviders(t *testing.T) {
// Note this is a randomish sample and does not check for all plugins
for _, name := range []string{"atlas", "consul", "docker", "template"} {
if _, ok := InternalProviders[name]; !ok {
t.Errorf("Expected to find %s in InternalProviders", name)
}
}
}
// providers are all external for now
//func TestInternalPlugin_InternalProviders(t *testing.T) {
// // Note this is a randomish sample and does not check for all plugins
// for _, name := range []string{"atlas", "consul", "docker", "template"} {
// if _, ok := InternalProviders[name]; !ok {
// t.Errorf("Expected to find %s in InternalProviders", name)
// }
// }
//}
func TestInternalPlugin_InternalProvisioners(t *testing.T) {
for _, name := range []string{"chef", "file", "local-exec", "remote-exec"} {