databricks-cli/cmd/sync/github_test.go

14 lines
229 B
Go
Raw Normal View History

2022-07-07 18:56:59 +00:00
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)
}