github.com/kyma-project/kyma-environment-broker@v0.0.1/internal/provider/openstack_provider_test.go (about) 1 package provider 2 3 import ( 4 "testing" 5 6 "github.com/kyma-project/kyma-environment-broker/internal/broker" 7 "github.com/stretchr/testify/assert" 8 ) 9 10 func TestZonesForOpenStackZones(t *testing.T) { 11 regions := broker.OpenStackRegions() 12 for _, region := range regions { 13 _, exists := openstackZones[region] 14 assert.True(t, exists) 15 } 16 _, exists := openstackZones[DefaultOpenStackRegion] 17 assert.True(t, exists) 18 }