mirror of https://github.com/databricks/cli.git
14 lines
229 B
Go
14 lines
229 B
Go
|
package sync
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestGithubGetPAT(t *testing.T) {
|
||
|
pat, err := githubGetPAT(context.Background())
|
||
|
assert.NoError(t, err)
|
||
|
assert.NotEqual(t, "..", pat)
|
||
|
}
|