mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 23:49:37 -05:00
26e9c67a00
Decouples cloud provider metadata packages from kubernetes related code Signed-off-by: Malte Poll <mp@edgeless.systems>
20 lines
416 B
Go
20 lines
416 B
Go
package gcp
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestTrivialAutoscalerFunctions(t *testing.T) {
|
|
assert := assert.New(t)
|
|
autoscaler := Autoscaler{}
|
|
|
|
assert.NotEmpty(autoscaler.Name())
|
|
assert.Empty(autoscaler.Secrets("", ""))
|
|
assert.NotEmpty(autoscaler.Volumes())
|
|
assert.NotEmpty(autoscaler.VolumeMounts())
|
|
assert.NotEmpty(autoscaler.Env())
|
|
assert.True(autoscaler.Supported())
|
|
}
|