~wallyworld/gwacl/fix-request-eof

« back to all changes in this revision

Viewing changes to storage_test.go

  • Committer: Raphael Badin
  • Date: 2013-06-19 13:41:16 UTC
  • mto: This revision was merged to the branch mainline in revision 116.
  • Revision ID: raphael.badin@canonical.com-20130619134116-xxiq03ewgkzboyrn
Export getFileURL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
 
68
68
func assertBlockSent(
69
69
    c *C, context *StorageContext, data []byte, blockID string, exchange *TestTransport2Exchange) {
70
 
    c.Check(exchange.Request.URL.String(), Matches, context.getFileURL("MyContainer", "MyFile")+"?.*")
 
70
    c.Check(exchange.Request.URL.String(), Matches, context.GetFileURL("MyContainer", "MyFile")+"?.*")
71
71
    c.Check(exchange.Request.URL.Query(), DeepEquals, url.Values{
72
72
        "comp":    {"block"},
73
73
        "blockid": {blockID},