76
res, _ := newResource(c, "spam", "a-user", content)
77
stored, _ := newResource(c, "spam", "", "")
84
req, _ := newUploadRequest(c, "spam", "a-service", content)
88
c.Assert(err, gc.ErrorMatches, `incorrect extension on resource upload "different.ext", expected ".tgz"`)
72
91
func (s *UploadSuite) TestHandleRequestPending(c *gc.C) {
74
93
res, _ := newResource(c, "spam", "a-user", content)