You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
386 B
25 lines
386 B
10 years ago
|
package keys
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
. "gopkg.in/check.v1"
|
||
|
)
|
||
|
|
||
|
func Test(t *testing.T) { TestingT(t) }
|
||
|
|
||
|
type MySuite struct{}
|
||
|
|
||
|
var _ = Suite(&MySuite{})
|
||
|
|
||
|
func (s *MySuite) Testing(c *C) {
|
||
|
value, err := GetRandomBase64(MINIO_SECRET_ID)
|
||
|
c.Assert(err, IsNil)
|
||
|
|
||
|
alphanum, err := GetRandomAlphaNumeric(MINIO_ACCESS_ID)
|
||
|
c.Assert(err, IsNil)
|
||
|
|
||
|
c.Log(string(value))
|
||
|
c.Log(string(alphanum))
|
||
|
}
|