~jtv/gwacl/storage-tool-command-line

« back to all changes in this revision

Viewing changes to management_test.go

  • Committer: Tarmac
  • Author(s): jtv at canonical
  • Date: 2013-08-06 08:01:43 UTC
  • mfrom: (211.2.13 service-endpoints)
  • Revision ID: tarmac-20130806080143-8tg75f6zw3fdvemq
[r=julian-edwards][bug=][author=jtv] Support Chinese Azure endpoints, as well as the international ones.

Show diffs side-by-side

added added

removed removed

Lines of Context:
87
87
    c.Assert(record, Not(HasLen), 0)
88
88
    expectedURL := fmt.Sprintf(
89
89
        "%ssubscriptionId/services/hostedservices/%s?embed-detail=true",
90
 
        AZURE_URL, service.ServiceName)
 
90
        defaultManagement, service.ServiceName)
91
91
    c.Check(record[0].URL, Equals, expectedURL)
92
92
    c.Check(record[0].Method, Equals, "GET")
93
93
}