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