1
// Copyright 2016 Canonical Ltd.
2
// Licensed under the AGPLv3, see LICENCE file for details.
7
"github.com/juju/testing"
10
"github.com/juju/juju/provider/azure/internal/azureauth"
13
type TokenResourceSuite struct {
14
testing.IsolationSuite
17
var _ = gc.Suite(&TokenResourceSuite{})
19
func (s *TokenResourceSuite) TestTokenResource(c *gc.C) {
20
out := azureauth.TokenResource("https://graph.windows.net")
21
c.Assert(out, gc.Equals, "https://graph.windows.net/")
22
out = azureauth.TokenResource("https://graph.windows.net/")
23
c.Assert(out, gc.Equals, "https://graph.windows.net/")