github.com/whatap/golib@v0.0.22/util/openstack/Openstack_test.go (about)

     1  package openstack
     2  
     3  import (
     4  	"testing"
     5  
     6  	"github.com/stretchr/testify/assert"
     7  )
     8  
     9  //TODO Test 환경에 따라 결과값이 달라 상세한 TC 작성이 어려움
    10  
    11  func TestOepnStack(t *testing.T) {
    12  	zone, err := GetAvailabilityZone()
    13  	if err != nil {
    14  		assert.Equal(t, zone, "")
    15  		return
    16  	}
    17  	assert.NotEqual(t, zone, "")
    18  
    19  }