~wallyworld/gwacl/fix-request-eof

« back to all changes in this revision

Viewing changes to poller_test.go

  • Committer: Gavin Panella
  • Date: 2013-07-12 12:58:03 UTC
  • mfrom: (179 gwacl)
  • mto: This revision was merged to the branch mainline in revision 180.
  • Revision ID: gavin@gromper.net-20130712125803-zaffdjmzukqg9t4h
Merge trunk, resolving one conflict.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
 
121
121
    c.Assert(err, IsNil)
122
122
    expectedURL := AZURE_URL + api.session.subscriptionId + "/operations/" + operationID
123
 
    checkOneRequest(c, recordedRequests, expectedURL, []byte{}, "GET")
 
123
    checkOneRequest(c, recordedRequests, expectedURL, "2009-10-01", nil, "GET")
124
124
}
125
125
 
126
126
var operationXMLTemplate = dedent.Dedent(`
212
212
    operationPollerInstance := poller.(operationPoller)
213
213
    expectedURL := AZURE_URL + operationPollerInstance.api.session.subscriptionId + "/operations/" + operationID
214
214
    c.Assert(len(recordedRequests), Equals, 2)
215
 
    checkRequest(c, recordedRequests[0], expectedURL, []byte{}, "GET")
216
 
    checkRequest(c, recordedRequests[1], expectedURL, []byte{}, "GET")
 
215
    checkRequest(c, recordedRequests[0], expectedURL, "2009-10-01", nil, "GET")
 
216
    checkRequest(c, recordedRequests[1], expectedURL, "2009-10-01", nil, "GET")
217
217
}