File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package _tests_test
22
33import (
4- "fmt"
54 . "github.com/onsi/ginkgo"
65 . "github.com/onsi/gomega"
7- "math/rand"
86)
97
10- func getRandAppName () string {
11- return fmt .Sprintf ("apps-test-%d" , rand .Int ())
12- }
13-
148var _ = Describe ("Apps" , func () {
159 app1Name := getRandAppName ()
1610 app2Name := getRandAppName ()
Original file line number Diff line number Diff line change 11// Package _tests contains integration tests for the Deis open source PaaS.
22package _tests
3-
4- import (
5- "github.com/onsi/ginkgo/config"
6- "math/rand"
7- )
8-
9- func init () {
10- rand .Seed (config .GinkgoConfig .RandomSeed )
11- }
Original file line number Diff line number Diff line change 1+ package _tests_test
2+
3+ import (
4+ "fmt"
5+ "math/rand"
6+
7+ "github.com/onsi/ginkgo/config"
8+ )
9+
10+ func init () {
11+ rand .Seed (config .GinkgoConfig .RandomSeed )
12+ }
13+
14+ func getRandAppName () string {
15+ return fmt .Sprintf ("apps-test-%d" , rand .Int ())
16+ }
You can’t perform that action at this time.
0 commit comments